Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | final class AuthenticateRequest implements Request |
||
20 | { |
||
21 | /** @var non-empty-array<int, string|array> */ |
||
|
|||
22 | private $body; |
||
23 | |||
24 | 48 | public function __construct(string $salt, string $username, string $password = '') |
|
32 | 48 | ]; |
|
33 | } |
||
34 | |||
35 | 48 | public function getType() : int |
|
38 | } |
||
39 | |||
40 | 44 | public function getBody() : array |
|
45 |