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