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

Skip to content

Commit 3b5d4b2

Browse files
committed
update phpdoc
1 parent 35a0b88 commit 3b5d4b2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

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

1919
/**
2020
* Checks whether injected parameters types are compatible with type hints.
21-
* This pass should be a 6905 dded before removing (PassConfig::TYPE_BEFORE_REMOVING).
21+
* 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.
2227
*
2328
* @author Nicolas Grekas <p@tchwork.com>
2429
* @author Julien Maulny <jmaulny@darkmira.fr>

0 commit comments

Comments
 (0)
0