| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | trait PassInfoTrait |
||
| 11 | { |
||
| 12 | /** @var int $playerPoints */ |
||
| 13 | private int $playerPoints = 0; |
||
| 14 | |||
| 15 | /** @var Card[] $removedCards */ |
||
| 16 | private array $removedCards = []; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param Card[] $removedCards Cards removed from the deck. |
||
| 20 | * @param int $playerPoints Players current points. |
||
| 21 | */ |
||
| 22 | 6 | public function passInfo(array $removedCards, int $playerPoints): void |
|
| 28 |