| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | class InvalidArgumentException extends BaseInvalidArgumentException |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @param string $expected description of expected type |
||
| 29 | * @param string $parameterName |
||
| 30 | * @param mixed $parameter the parameter that is not of the expected type. |
||
| 31 | * @return self |
||
| 32 | */ |
||
| 33 | public static function invalidType($expected, $parameterName, mixed $parameter) |
||
| 45 |