| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class InvalidArgumentException extends BuiltinInvalidArgumentException |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @param string $expected description of expected type |
||
| 24 | * @param mixed $parameter the parameter that is not of the expected type. |
||
| 25 | * |
||
| 26 | * @return \SimpleSAML\XMLSecurity\Exception\InvalidArgumentException |
||
| 27 | */ |
||
| 28 | public static function invalidType(string $expected, mixed $parameter): self |
||
| 39 |