Total Complexity | 5 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | final class ClassConstantVisibilityReduced implements ClassConstantBased |
||
13 | { |
||
14 | private const VISIBILITY_PRIVATE = 'private'; |
||
15 | |||
16 | private const VISIBILITY_PROTECTED = 'protected'; |
||
17 | |||
18 | private const VISIBILITY_PUBLIC = 'public'; |
||
19 | |||
20 | public function __invoke(ReflectionClassConstant $fromConstant, ReflectionClassConstant $toConstant) : Changes |
||
39 | )); |
||
40 | } |
||
41 | |||
42 | private function propertyVisibility(ReflectionClassConstant $property) : string |
||
55 |