| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | abstract class AbstractRequest |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var ClientInterface|Client |
||
| 17 | */ |
||
| 18 | protected $client; |
||
| 19 | |||
| 20 | public function __construct(Client $client) |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @throws \Monobank\Exception\InvalidAccountException |
||
| 27 | * @throws \Monobank\Exception\InternalErrorException |
||
| 28 | * @throws \Monobank\Exception\MonobankException |
||
| 29 | * @throws \Monobank\Exception\TooManyRequestsException |
||
| 30 | * @throws \Monobank\Exception\UnknownTokenException |
||
| 31 | */ |
||
| 32 | protected function makeRequest(Request $request): array |
||
| 43 |