Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function hasProperty(ClassReflection $classReflection, string $propertyName) : bool |
||
32 | { |
||
33 | $className = $classReflection->getName(); |
||
|
|||
34 | |||
35 | $property = ucfirst($propertyName); |
||
36 | |||
37 | return |
||
38 | parent::hasProperty($classReflection, $property) || |
||
39 | in_array($property, [ |
||
40 | 'intNestedLeft', |
||
41 | 'intNestedRight', |
||
42 | 'intNestedLevel', |
||
43 | 'intNestedParentId' |
||
44 | ]); |
||
52 |