Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
8 | public function render($request) |
||
|
|||
9 | { |
||
10 | return response()->view('errors.general', |
||
11 | ['code' => 403, |
||
12 | 'message' => trans('core.forbidden'), |
||
13 | 'quote' => trans('msg.you_dont_own_federation'), |
||
14 | 'author' => trans('msg.please_ask_superadmin'), |
||
15 | 'source' => "", |
||
16 | 'sentryID' => $this->sentryID,] |
||
17 | ); |
||
20 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.