| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class AbstractRequest |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var Auth|null |
||
| 13 | */ |
||
| 14 | private ?Auth $auth = null; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param string $token |
||
| 18 | * |
||
| 19 | * @return void |
||
| 20 | */ |
||
| 21 | 3 | public function setAuth(string $token): void |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return Auth|null |
||
| 28 | */ |
||
| 29 | 1 | public function getAuth(): ?Auth |
|
| 30 | { |
||
| 31 | 1 | return $this->auth; |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | * @psalm-suppress UndefinedConstant |
||
| 37 | */ |
||
| 38 | 14 | public function getResponseClass(): string |
|
| 41 | } |
||
| 42 | } |
||
| 43 |