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