Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
46 | public static function ThrowIfNotWriteableNestedType( |
||
47 | $object, |
||
48 | int $argument, |
||
49 | string $class, |
||
50 | string $function, |
||
51 | string ...$types |
||
52 | ) : void { |
||
53 | static::ThrowIfNotType( |
||
54 | $object, |
||
55 | $argument, |
||
56 | $class, |
||
57 | $function, |
||
58 | DaftNestedWriteableObject::class, |
||
59 | ...$types |
||
60 | ); |
||
68 |