Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class OutOfRangeException extends PHPOutOfRangeException implements SevereExceptionInterface, LocatableExceptionInterface |
||
16 | { |
||
17 | use HasSeverity; |
||
18 | |||
19 | /** |
||
20 | * If required, set the file and line where the Exception was thrown. |
||
21 | * |
||
22 | * @param string $file |
||
23 | * @param int $line |
||
24 | * |
||
25 | * @return $this |
||
26 | */ |
||
27 | public function setLocation(string $file, int $line): LocatableExceptionInterface |
||
37 |