Passed
Push — remanufacture/json-object-deco... ( 07d964...ba9553 )
by Bas
03:04 queued 01:15
created

SchemaManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 9
c 1
b 0
f 0
dl 0
loc 14
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ArangoClient\Schema;
6
7
use ArangoClient\ArangoClient;
8
use ArangoClient\Manager;
9
10
class SchemaManager extends Manager
11
{
12
    use ManagesDatabases;
0 ignored issues
show
Bug introduced by
The trait ArangoClient\Schema\ManagesDatabases requires the property $result which is not provided by ArangoClient\Schema\SchemaManager.
Loading history...
13
    use ManagesCollections;
0 ignored issues
show
introduced by
The trait ArangoClient\Schema\ManagesCollections requires some properties which are not provided by ArangoClient\Schema\SchemaManager: $result, $count
Loading history...
14
    use ManagesIndexes;
0 ignored issues
show
Bug introduced by
The trait ArangoClient\Schema\ManagesIndexes requires the property $indexes which is not provided by ArangoClient\Schema\SchemaManager.
Loading history...
15
    use ManagesViews;
0 ignored issues
show
Bug introduced by
The trait ArangoClient\Schema\ManagesViews requires the property $result which is not provided by ArangoClient\Schema\SchemaManager.
Loading history...
16
    use ManagesUsers;
0 ignored issues
show
Bug introduced by
The trait ArangoClient\Schema\ManagesUsers requires the property $result which is not provided by ArangoClient\Schema\SchemaManager.
Loading history...
17
    use ManagesGraphs;
0 ignored issues
show
introduced by
The trait ArangoClient\Schema\ManagesGraphs requires some properties which are not provided by ArangoClient\Schema\SchemaManager: $graph, $graphs, $collections
Loading history...
18
19
    protected ArangoClient $arangoClient;
20
21 104
    public function __construct(ArangoClient $arangoClient)
22
    {
23 104
        $this->arangoClient = $arangoClient;
24 104
    }
25
}
26