Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
24 | 30 | { |
|
25 | return parent::regionSingapore(); |
||
26 | } |
||
27 | |||
28 | public static function zoneNa0() |
||
29 | { |
||
30 | return parent::regionNorthAmerica(); |
||
31 | } |
||
32 | |||
33 | 30 | public static function qvmZonez0() |
|
34 | 30 | { |
|
35 | 30 | return parent::qvmRegionHuadong(); |
|
36 | 30 | } |
|
37 | 30 | ||
38 | 30 | public static function qvmZonez1() |
|
39 | 30 | { |
|
40 | return parent::qvmRegionHuabei(); |
||
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 theSon
calls the wrong method in the parent class.