1 | <?php |
||
2 | |||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
3 | namespace BristolSU\Module\UploadFile\Http\Controllers; |
||
4 | |||
5 | use Illuminate\Foundation\Auth\Access\AuthorizesRequests; |
||
6 | use Illuminate\Foundation\Bus\DispatchesJobs; |
||
7 | use Illuminate\Foundation\Validation\ValidatesRequests; |
||
8 | |||
9 | class Controller |
||
0 ignored issues
–
show
|
|||
10 | { |
||
11 | use AuthorizesRequests { |
||
12 | authorize as baseAuthorize; |
||
13 | } |
||
14 | |||
15 | use DispatchesJobs, ValidatesRequests; |
||
16 | |||
17 | 99 | public function authorize($ability, $arguments = []) |
|
0 ignored issues
–
show
|
|||
18 | { |
||
19 | 99 | return $this->baseAuthorize( |
|
20 | 99 | alias() . '.' . $ability, |
|
21 | $arguments |
||
22 | ); |
||
23 | } |
||
24 | } |