Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class AdministrationClient |
||
12 | { |
||
13 | /** |
||
14 | * @var Connector |
||
15 | */ |
||
16 | protected Connector $connector; |
||
17 | |||
18 | /** |
||
19 | * Documents constructor. |
||
20 | * @param Connector $connector |
||
21 | */ |
||
22 | 21 | public function __construct(Connector $connector) |
|
25 | 21 | } |
|
26 | |||
27 | /** |
||
28 | * |
||
29 | * @SuppressWarnings(PHPMD.BooleanArgumentFlag) |
||
30 | * |
||
31 | * @param bool $details |
||
32 | * @return array<mixed> |
||
33 | * |
||
34 | * @throws ArangoException |
||
35 | * @throws GuzzleException |
||
36 | */ |
||
37 | 2 | public function version(bool $details = false): array |
|
50 |