| 1 | <?php |
||
| 11 | abstract class AbstractPurgeForContentSlotTest extends AbstractSlotTest implements PurgeForContentExpectation |
||
| 12 | { |
||
| 13 | protected static $contentId = 42; |
||
| 14 | protected static $locationIds = []; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return mixed |
||
| 18 | */ |
||
| 19 | public static function getContentId() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return mixed[] |
||
| 26 | */ |
||
| 27 | public static function getLocationIds() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @dataProvider getReceivedSignals |
||
| 34 | */ |
||
| 35 | public function testReceivePurgesCacheForContent($signal) |
||
| 41 | } |
||
| 42 |
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.