| Total Complexity | 3 | 
| Total Lines | 31 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 18 | final class InvalidType extends ConversionException implements TypesException  | 
            ||
| 19 | { | 
            ||
| 20 | /**  | 
            ||
| 21 | * @param mixed $value  | 
            ||
| 22 | * @param string[] $possibleTypes  | 
            ||
| 23 | *  | 
            ||
| 24 | * @todo split into two methods  | 
            ||
| 25 | * @todo sanitize value  | 
            ||
| 26 | */  | 
            ||
| 27 | 1668 | public static function new($value, string $toType, array $possibleTypes) : self  | 
            |
| 53 |