TraitDaftNestedObjectIntTree   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A GetNestedObjectTreeRootId() 0 3 1
1
<?php
2
/**
3
* Base daft nested objects.
4
*
5
* @author SignpostMarv
6
*/
7
declare(strict_types=1);
8
9
namespace SignpostMarv\DaftObject;
10
11
trait TraitDaftNestedObjectIntTree
12
{
13
    /**
14
    * @return int[]
15
    */
16 88
    public function GetNestedObjectTreeRootId() : array
17
    {
18 88
        return [0];
19
    }
20
}
21