Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
7 | final class AttackWithCard |
||
8 | { |
||
9 | /** @var int */ |
||
10 | private $offset; |
||
11 | /** @var int */ |
||
12 | private $player; |
||
13 | /** @var MatchId */ |
||
14 | private $match; |
||
15 | |||
16 | public function __construct(int $offset, int $player, MatchId $match) |
||
17 | { |
||
18 | $this->offset = $offset; |
||
19 | $this->player = $player; |
||
20 | $this->match = $match; |
||
21 | } |
||
22 | |||
23 | public static function number(int $offset, int $player, MatchId $match): self |
||
26 | } |
||
27 | |||
28 | public function cardNumber(): int |
||
31 | } |
||
32 | |||
33 | public function player(): int |
||
36 | } |
||
37 | |||
38 | public function match(): MatchId |
||
41 | } |
||
42 | } |
||
43 |