| Total Complexity | 9 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class midgard_reflector_object |
||
| 11 | { |
||
| 12 | 1 | public static function get_property_primary(string $classname) : string |
|
|
|
|||
| 13 | { |
||
| 14 | 1 | return 'id'; |
|
| 15 | } |
||
| 16 | |||
| 17 | 1 | public static function get_property_up(string $classname) : ?string |
|
| 20 | } |
||
| 21 | |||
| 22 | 1 | public static function get_property_parent(string $classname) : ?string |
|
| 25 | } |
||
| 26 | |||
| 27 | 1 | public static function get_property_unique(string $classname) : ?string |
|
| 31 | } |
||
| 32 | |||
| 33 | 1 | public static function list_children(string $classname) : array |
|
| 41 | } |
||
| 42 | |||
| 43 | 2 | public static function has_metadata_class($classname) : bool |
|
| 44 | { |
||
| 45 | 2 | return midgard_object_class::has_metadata($classname); |
|
| 46 | } |
||
| 47 | |||
| 48 | 1 | public static function get_metadata_class($classname) : ?string |
|
| 54 | } |
||
| 55 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.