Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
51 | 58 | public static function ThrowIfNotWriteableNestedType( |
|
52 | $object, |
||
53 | int $argument, |
||
54 | string $class, |
||
55 | string $function, |
||
56 | string ...$types |
||
57 | ) { |
||
58 | 58 | static::ThrowIfNotType( |
|
59 | 58 | $object, |
|
60 | 58 | $argument, |
|
61 | 58 | $class, |
|
62 | 58 | $function, |
|
63 | 58 | DaftNestedWriteableObject::class, |
|
64 | 58 | ...$types |
|
65 | ); |
||
76 |