| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | 10 | public static function ThrowIfNotDaftObjectIdPropertiesType( |
|
| 56 | $object, |
||
| 57 | int $argument, |
||
| 58 | string $class, |
||
| 59 | string $function, |
||
| 60 | string ...$types |
||
| 61 | ) : void { |
||
| 62 | 10 | static::ThrowIfNotType( |
|
| 63 | 10 | $object, |
|
| 64 | 10 | $argument, |
|
| 65 | 10 | $class, |
|
| 66 | 10 | $function, |
|
| 67 | 10 | DefinesOwnIdPropertiesInterface::class, |
|
| 68 | 5 | ...$types |
|
| 69 | ); |
||
| 72 |