Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
13 | 114 | public function RememberDaftObject(DefinesOwnIdPropertiesInterface $object) : void |
|
14 | { |
||
15 | 114 | if ($object instanceof DaftNestedWriteableObject) { |
|
16 | 112 | $this->RememberDaftObjectWriteableTyped($object); |
|
17 | } else { |
||
18 | 2 | NestedTypeParanoia::ThrowIfNotWriteableNestedType( |
|
19 | $object, |
||
20 | 112 | 1, |
|
21 | static::class, |
||
22 | __FUNCTION__ |
||
23 | ); |
||
65 |