1 | <?php |
||
5 | class StructArrayReservedKeywords extends StructReservedKeywords |
||
6 | { |
||
7 | /** |
||
8 | * @param string $filename |
||
9 | */ |
||
10 | protected function __construct($filename) |
||
15 | /** |
||
16 | * @throws \InvalidArgumentException |
||
17 | * @param string options's file to parse |
||
18 | * @return StructArrayReservedKeywords |
||
19 | */ |
||
20 | public static function instance($filename = null) |
||
24 | /** |
||
25 | * @return string |
||
26 | */ |
||
27 | public static function getDefaultArrayConfigurationPath() |
||
31 | } |
||
32 |
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.