Passed
Push — master ( 7149d2...ef62e5 )
by SignpostMarv
06:57
created

DaftWriteableObjectMemoryTree::ModifyDaftNestedObjectTreeRemoveWithObject()   A

Complexity

Conditions 4
Paths 3

Size

Total Lines 29
Code Lines 16

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 16
CRAP Score 4

Importance

Changes 0
Metric Value
cc 4
eloc 16
nc 3
nop 2
dl 0
loc 29
ccs 16
cts 16
cp 1
crap 4
rs 9.7333
c 0
b 0
f 0
1
<?php
2
/**
3
* Base daft objects.
4
*
5
* @author SignpostMarv
6
*/
7
declare(strict_types=1);
8
9
namespace SignpostMarv\DaftObject;
10
11
/**
12
* @template T as DaftNestedWriteableObject
13
*
14
* @template-extends DaftObjectMemoryTree<T>
15
*
16
* @template-implements DaftNestedWriteableObjectTree<T>
17
*/
18
abstract class DaftWriteableObjectMemoryTree extends DaftObjectMemoryTree implements DaftNestedWriteableObjectTree
19
{
20
    /**
21
    * @use WriteableTreeTrait<T>
22
    */
23
    use WriteableTreeTrait;
24
25
    const DEFINITELY_BELOW = false;
26
27
    const EXCLUDE_ROOT = false;
28
29
    const INSERT_AFTER = false;
30
31
    const LIMIT_ONE = 1;
32
33
    const RELATIVE_DEPTH_SAME = 0;
34
35
    const INT_ARG_INDEX_SECOND = 2;
36
}
37