| 1 | <?php |
||
| 6 | class Zone extends Region |
||
| 7 | { |
||
| 8 | public static function zonez0() |
||
| 12 | |||
| 13 | public static function zonez1() |
||
| 17 | |||
| 18 | public static function zonez2() |
||
| 22 | |||
| 23 | public static function zoneAs0() |
||
| 27 | |||
| 28 | public static function zoneNa0() |
||
| 32 | |||
| 33 | 30 | public static function qvmZonez0() |
|
| 37 | 30 | ||
| 38 | 30 | public static function qvmZonez1() |
|
| 42 | |||
| 43 | public static function queryZone($ak, $bucket) |
||
| 47 | } |
||
| 48 |
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.