| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class GameManager |
||
| 12 | { |
||
| 13 | private GameRepository $gameRepository; |
||
| 14 | |||
| 15 | public function __construct(GameRepository $gameRepository) |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Game $game |
||
| 22 | */ |
||
| 23 | public function maj(Game $game): void |
||
| 24 | { |
||
| 25 | $this->gameRepository->maj($game); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param Game $game |
||
| 30 | */ |
||
| 31 | public function copy(Game $game): void |
||
| 34 | } |
||
| 35 | |||
| 36 | public function setProofVideoOnly(Game $game): void |
||
| 41 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.