| 1 | <?php |
||
| 7 | class FlashesNodeFactorySpec extends ObjectBehavior |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param Twig_Node_Expression $types |
||
|
|
|||
| 11 | * @param Twig_Node_Expression $catalog |
||
| 12 | * @param Twig_NodeInterface $body |
||
| 13 | */ |
||
| 14 | function let() |
||
| 17 | |||
| 18 | function it_should_create_flashes_node_instances($types, $catalog, $body) |
||
| 22 | |||
| 23 | function it_should_allow_to_create_flashes_node_with_no_types($catalog, $body) |
||
| 27 | |||
| 28 | function it_should_allow_to_create_flashes_node_with_no_catalog($types, $body) |
||
| 32 | } |
||
| 33 |
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
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.