| Total Complexity | 3 | 
| Total Lines | 35 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 17 | class OutOfBoundsException extends PHPOutOfBoundsException implements SevereExceptionInterface, LocatableExceptionInterface | ||
| 18 | { | ||
| 19 | use HasSeverity; | ||
| 20 | |||
| 21 | /** | ||
| 22 | * Exception thrown if a value is not a valid key. | ||
| 23 | * This represents errors that cannot be detected at compile time. | ||
| 24 | * | ||
| 25 | * @param string $message The Exception message to throw. | ||
| 26 | * @param int $code The Exception code. | ||
| 27 | * @param \Throwable $previous The previous throwable used for the exception chaining. | ||
| 28 | */ | ||
| 29 | public function __construct(string $message = '', int $code = 0, Throwable $previous = null) | ||
| 34 | } | ||
| 35 | |||
| 36 | /** | ||
| 37 | * If required, set the file and line where the Exception was thrown. | ||
| 38 | * | ||
| 39 | * @param string $file | ||
| 40 | * @param int $line | ||
| 41 | * | ||
| 42 | * @return $this | ||
| 43 | */ | ||
| 44 | public function setLocation(string $file, int $line): LocatableExceptionInterface | ||
| 54 |