1 | <?php |
||
23 | class MappedStatementRepository extends DocumentRepository implements MappedStatementRepositoryInteface |
||
24 | { |
||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function findMappedStatement(array $criteria) |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function findMappedStatements(array $criteria) |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function storeMappedStatement(MappedStatement $mappedStatement, $flush = true) |
||
52 | } |
||
53 |
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 theSon
calls the wrong method in the parent class.