| 1 | <?php |
||
| 11 | final class SomeBehaviorExtension extends AbstractBehaviorExtension |
||
| 12 | { |
||
| 13 | |||
| 14 | public function getClassAnalyzerPublic() : ServiceDefinition |
||
| 18 | |||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string|NULL |
||
| 22 | * @return ServiceDefinition|NULL |
||
| 23 | */ |
||
| 24 | public function buildDefinitionFromCallablePublic($value) |
||
| 28 | |||
| 29 | } |
||
| 30 |
This check looks for a call to a parent method whose name is different than the method from which it is called.
Consider the following code:
The
getFirstName()method in theSoncalls the wrong method in the parent class.