1 | <?php |
||
2 | |||
3 | namespace App\Exceptions; |
||
4 | |||
5 | |||
6 | class NotOwningClubException extends CustomException |
||
7 | { |
||
8 | public function render($request) |
||
0 ignored issues
–
show
|
|||
9 | { |
||
10 | return response()->view('errors.general', |
||
11 | ['code' => 403, |
||
12 | 'message' => trans('core.forbidden'), |
||
13 | 'quote' => trans('msg.you_dont_own_club'), |
||
14 | 'author' => trans('msg.please_ask_associationPresident'), |
||
15 | 'source' => "", |
||
16 | 'sentryID' => $this->sentryID,] |
||
17 | ); |
||
18 | } |
||
19 | |||
20 | } |
||
21 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.