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

SchemaManager::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
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