| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 7 | final class IpResolver implements IpResolverInterface |
||
| 8 | { |
||
| 9 | /** @var RequestStack */ |
||
| 10 | private $requestStack; |
||
| 11 | |||
| 12 | 5 | public function __construct(RequestStack $requestStack) |
|
| 13 | { |
||
| 14 | 5 | $this->requestStack = $requestStack; |
|
| 15 | 5 | } |
|
| 16 | |||
| 17 | 4 | public function resolveIp(): ?string |
|
| 24 | } |
||
| 25 | } |
||
| 26 |