Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d701691

Browse filesBrowse files
committed
update phpdoc
1 parent 35a0b88 commit d701691
Copy full SHA for d701691

File tree

Expand file treeCollapse file tree

1 file changed

+7
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Compiler/CheckTypeHintsPass.php
+7-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.