| Conditions | 2 |
| Paths | 2 |
| Total Lines | 4 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public static function isTransformerClass($transformer): bool |
||
| 36 | { |
||
| 37 | return is_string($transformer) && is_subclass_of($transformer, TransformerInterface::class); |
||
|
1 ignored issue
–
show
|
|||
| 38 | } |
||
| 39 | |||
| 57 |