| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ServerRepository |
||
| 14 | { |
||
| 15 | private ?Provider $configurationProvider = null; |
||
| 16 | |||
| 17 | private ?Factory $serverFactory = null; |
||
| 18 | |||
| 19 | public function injectConfigurationProvider(Provider $configurationProvider): void |
||
| 22 | } |
||
| 23 | |||
| 24 | public function injectServerFactory(Factory $serverFactory): void |
||
| 25 | { |
||
| 26 | $this->serverFactory = $serverFactory; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function findAllByPage(Page $page): Collection |
||
| 41 | 1 | } |
|
| 42 | } |
||
| 43 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.