Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
31 | 78 | public static function ThrowIfNotNestedType( |
|
32 | $object, |
||
33 | int $argument, |
||
34 | string $class, |
||
35 | string $function, |
||
36 | string ...$types |
||
37 | ) { |
||
38 | 78 | static::ThrowIfNotType( |
|
39 | 78 | $object, |
|
40 | 78 | $argument, |
|
41 | 78 | $class, |
|
42 | 78 | $function, |
|
43 | 78 | DaftNestedObject::class, |
|
44 | 78 | ...$types |
|
45 | ); |
||
76 |