| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class TwoFactorRequiredException extends Exception |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Render the exception into an HTTP response. |
||
| 12 | * |
||
| 13 | * @param \Illuminate\Http\Request $request Incoming request object. |
||
| 14 | * @return \Illuminate\Http\Response|\Illuminate\Contracts\Routing\ResponseFactory |
||
| 15 | */ |
||
| 16 | public function render(\Illuminate\Http\Request $request) |
||
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Override, custom exception doesn't return a status code. |
||
| 32 | * |
||
| 33 | * @return mixed |
||
| 34 | */ |
||
| 35 | public function getStatusCode() |
||
| 40 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.