Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class ClassReflectionExtension extends Base |
||
23 | { |
||
24 | public function hasProperty(ClassReflection $classReflection, string $propertyName) : bool |
||
25 | { |
||
26 | $property = ucfirst($propertyName); |
||
27 | |||
28 | return |
||
29 | parent::hasProperty($classReflection, $property) || |
||
30 | PropertyReflectionExtension::PropertyIsInt($property); |
||
31 | } |
||
32 | |||
33 | protected function ObtainPropertyReflection( |
||
39 | } |
||
40 | } |
||
41 |