Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | protected function load(array $configurationValues = array()) |
||
17 | { |
||
18 | $configs = array($this->getMinimalConfiguration(), $configurationValues); |
||
19 | |||
20 | foreach ($this->container->getExtensions() as $extension) { |
||
21 | if ($extension instanceof PrependExtensionInterface) { |
||
22 | $extension->prepend($this->container); |
||
23 | } |
||
24 | $extension->load($configs, $this->container); |
||
25 | } |
||
26 | } |
||
27 | } |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.