1 | <?php |
||
14 | class CopySubtreeSlotTest extends AbstractSlotTest |
||
15 | { |
||
16 | protected static $locationIds = [43]; |
||
17 | |||
18 | /** |
||
19 | * @dataProvider getReceivedSignals |
||
20 | */ |
||
21 | public function testReceivePurgesCacheForLocations($signal) |
||
31 | |||
32 | public static function createSignal() |
||
40 | |||
41 | public function getSlotClass() |
||
45 | |||
46 | public static function getReceivedSignalClasses() |
||
50 | } |
||
51 |
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.