| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 63 | 2 | public static function ThrowIfNotDaftObjectIdPropertiesType( |
|
| 64 | 2 | $object, |
|
| 65 | int $argument, |
||
| 66 | string $class, |
||
| 67 | string $function, |
||
| 68 | 12 | string ...$types |
|
| 69 | 12 | ) : void { |
|
| 70 | 12 | static::ThrowIfNotType( |
|
| 71 | 12 | $object, |
|
| 72 | 9 | $argument, |
|
| 73 | $class, |
||
| 74 | $function, |
||
| 75 | DefinesOwnIdPropertiesInterface::class, |
||
| 76 | ...$types |
||
| 77 | ); |
||
| 80 |