Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
49 | 2 | public function __construct( |
|
50 | string $gameId, |
||
51 | string $playerId, |
||
52 | string $contextType, |
||
53 | string $contextId, |
||
54 | int $score, |
||
55 | string $payload |
||
56 | ) { |
||
57 | 2 | $this->gameId = $gameId; |
|
58 | 2 | $this->playerId = $playerId; |
|
59 | 2 | $this->contextType = $contextType; |
|
60 | 2 | $this->contextId = $contextId; |
|
61 | 2 | $this->score = $score; |
|
62 | 2 | $this->payload = $payload; |
|
63 | 2 | } |
|
130 |