| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class AdminManager extends Manager |
||
| 13 | { |
||
| 14 | public function __construct(protected ArangoClient $arangoClient) {} |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @SuppressWarnings(PHPMD.BooleanArgumentFlag) |
||
| 18 | * |
||
| 19 | * @throws ArangoException |
||
| 20 | */ |
||
| 21 | 3 | public function getVersion(bool $details = false): stdClass |
|
| 29 | 3 | ], |
|
| 30 | 3 | ], |
|
| 31 | 3 | ); |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return array<mixed> |
||
| 36 | * |
||
| 37 | * @throws ArangoException |
||
| 38 | */ |
||
| 39 | 9 | public function getRunningTransactions(): array |
|
| 44 | } |
||
| 45 | } |
||
| 46 |