| Total Complexity | 3 | 
| Total Lines | 34 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 16 | class InvalidArgumentException extends PHPInvalidArgumentException implements SevereExceptionInterface, LocatableExceptionInterface  | 
            ||
| 17 | { | 
            ||
| 18 | use HasSeverity;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * Exception thrown if an argument is not of the expected type.  | 
            ||
| 22 | *  | 
            ||
| 23 | * @param string $message The Exception message to throw.  | 
            ||
| 24 | * @param int $code The Exception code.  | 
            ||
| 25 | * @param \Throwable $previous The previous throwable used for the exception chaining.  | 
            ||
| 26 | */  | 
            ||
| 27 | public function __construct(string $message = '', int $code = 0, Throwable $previous = null)  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * If required, set the file and line where the Exception was thrown.  | 
            ||
| 36 | *  | 
            ||
| 37 | * @param string $file  | 
            ||
| 38 | * @param int $line  | 
            ||
| 39 | *  | 
            ||
| 40 | * @return $this  | 
            ||
| 41 | */  | 
            ||
| 42 | public function setLocation(string $file, int $line): LocatableExceptionInterface  | 
            ||
| 52 |