| Total Complexity | 6 |
| Total Lines | 64 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class UserController extends Controller |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Display a listing of the resource. |
||
| 13 | * |
||
| 14 | * @return JsonResponse |
||
| 15 | */ |
||
| 16 | public function index() |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Show the form for creating a new resource. |
||
| 23 | * |
||
| 24 | * @return JsonResponse |
||
| 25 | */ |
||
| 26 | public function create() |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Store a newly created resource in storage. |
||
| 33 | * |
||
| 34 | * @param Request $request |
||
| 35 | * |
||
| 36 | * @return JsonResponse |
||
| 37 | */ |
||
| 38 | public function store(Request $request) |
||
|
|
|||
| 39 | { |
||
| 40 | return \response()->json(); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Show the specified resource. |
||
| 45 | * |
||
| 46 | * @return JsonResponse |
||
| 47 | */ |
||
| 48 | public function show() |
||
| 49 | { |
||
| 50 | return \response()->json(\Auth::user()->toArray()); |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Update the specified resource in storage. |
||
| 55 | * |
||
| 56 | * @param Request $request |
||
| 57 | * |
||
| 58 | * @return JsonResponse |
||
| 59 | */ |
||
| 60 | public function update(Request $request) |
||
| 61 | { |
||
| 62 | return \response()->json(); |
||
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * Remove the specified resource from storage. |
||
| 67 | * |
||
| 68 | * @return JsonResponse |
||
| 69 | */ |
||
| 70 | public function destroy() |
||
| 73 | } |
||
| 74 | } |
||
| 75 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.