| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class ConstantChanged implements ClassBased |
||
| 16 | { |
||
| 17 | /** @var ClassConstantBased */ |
||
| 18 | private $checkConstant; |
||
| 19 | |||
| 20 | public function __construct(ClassConstantBased $checkConstant) |
||
| 21 | { |
||
| 22 | $this->checkConstant = $checkConstant; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function __invoke(ReflectionClass $fromClass, ReflectionClass $toClass) : Changes |
||
| 30 | )); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param ReflectionClassConstant[] $from |
||
| 35 | * @param ReflectionClassConstant[] $to |
||
| 36 | * |
||
| 37 | * @return iterable|Change[] |
||
| 38 | */ |
||
| 39 | private function checkSymbols(array $from, array $to) : iterable |
||
| 43 | } |
||
| 44 | } |
||
| 46 |