| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class PreviewErrorException extends Exception |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * The error exception. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $exception; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Create a new preview exception. |
||
| 20 | */ |
||
| 21 | public function __construct($exception) |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Render the exception into an HTTP response. |
||
| 28 | * |
||
| 29 | * @param \Illuminate\Http\Request $request |
||
| 30 | * @return \Illuminate\Http\Response |
||
| 31 | */ |
||
| 32 | public function render($request) |
||
| 42 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.