8000 update phpdoc · symfony/symfony@d701691 · GitHub
[go: up one dir, main page]

Skip to content

Commit d701691

Browse files
committed
update phpdoc
1 parent 35a0b88 commit d701691

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Symfony/Component/DependencyInjection/Compiler/CheckTypeHintsPass.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818

1919
/**
2020
* Checks whether injected parameters types are compatible with type hints.
21-
* This pass should be added before removing (PassConfig::TYPE_BEFORE_REMOVING).
21+
* This pass should be run after all optimization passes.
22+
* So it can be added either:
23+
*
24+
* * before removing (PassConfig::TYPE_BEFORE_REMOVING) so that it will check
25+
* all services, even if they are not currently used,
26+
* * after removing (PassConfig::TYPE_AFTER_REMOVING) so that it will check
27+
* only services you are using.
2228
*
2329
* @author Nicolas Grekas <p@tchwork.com>
2430
* @author Julien Maulny <jmaulny@darkmira.fr>

0 commit comments

Comments
 (0)
0