| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class MultiConstantBased implements ConstantBased |
||
| 11 | { |
||
| 12 | /** @var ConstantBased[] */ |
||
| 13 | private $checks; |
||
| 14 | |||
| 15 | public function __construct(ConstantBased ...$checks) |
||
| 16 | { |
||
| 17 | $this->checks = $checks; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function compare(ReflectionClassConstant $fromConstant, ReflectionClassConstant $toConstant) : Changes |
||
| 28 | ); |
||
| 29 | } |
||
| 31 |