| Total Complexity | 7 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ConstantReviewer implements ReviewerInterface |
||
| 10 | { |
||
| 11 | /** @var ResourcesGatewayInterface */ |
||
| 12 | private $gateway; |
||
| 13 | |||
| 14 | public function __construct(ResourcesGatewayInterface $gateway) |
||
| 15 | { |
||
| 16 | $this->gateway = $gateway; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function accepts(OriginInterface $origin): bool |
||
| 22 | } |
||
| 23 | |||
| 24 | public function review(OriginInterface $origin): Review |
||
| 45 | } |
||
| 46 | } |
||
| 47 |