| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | interface ConfigurableBundleInterface extends BundleInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Configure the root node of a given application using the |
||
| 13 | * RadBundle. |
||
| 14 | * |
||
| 15 | * @param NodeParentInterface $rootNode |
||
| 16 | */ |
||
| 17 | public function buildConfiguration(NodeParentInterface $rootNode); |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Configure the container. Replace the standard bundle extension load method. |
||
| 21 | * |
||
| 22 | * @param array $config, The parsed config |
||
|
|
|||
| 23 | * @param ContainerBuilder $container |
||
| 24 | */ |
||
| 25 | public function buildContainer(array $config, ContainerBuilder $container); |
||
| 26 | } |
||
| 27 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function. It has, however, found a similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter
$irelandis not defined by the methodfinale(...).The most likely cause is that the parameter was changed, but the annotation was not.