8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35a0b88 commit 3b5d4b2Copy full SHA for 3b5d4b2
src/Symfony/Component/DependencyInjection/Compiler/CheckTypeHintsPass.php
@@ -18,7 +18,12 @@
18
19
/**
20
* Checks whether injected parameters types are compatible with type hints.
21
- * This pass should be a 6905 dded before removing (PassConfig::TYPE_BEFORE_REMOVING).
+ * This pass should be run after all optimization passes.
22
+ * So it can be added either:
23
+ * * before removing (PassConfig::TYPE_BEFORE_REMOVING) so that it will check
24
+ * all services, even if they are not currently used,
25
+ * * after removing (PassConfig::TYPE_AFTER_REMOVING) so that it will check
26
+ * only services you are using.
27
*
28
* @author Nicolas Grekas <p@tchwork.com>
29
* @author Julien Maulny <jmaulny@darkmira.fr>
0 commit comments