Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 2 | public function submitRole(NewRoleRequest $request) |
|
26 | { |
||
27 | 2 | (new SetPermissions)->submitRole($request); |
|
28 | 2 | Log::notice('User Permissions Role '.$request->name.' has been updated by '.Auth::user()->full_name.'. Data - ', $request->toArray()); |
|
29 | 2 | return response()->json(['success' => true]); |
|
30 | } |
||
32 |