| 1 | <?php |
||
| 32 | class SettingsController extends Controller |
||
| 33 | { |
||
| 34 | /** |
||
| 35 | * Constructor |
||
| 36 | */ |
||
| 37 | public function __construct(Request $request) |
||
|
1 ignored issue
–
show
|
|||
| 38 | { |
||
| 39 | $this->middleware('auth'); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Display a listing of the resource. |
||
| 44 | * |
||
| 45 | * @return \Illuminate\Http\Response |
||
| 46 | */ |
||
| 47 | public function index() |
||
| 48 | { |
||
| 49 | return view('settings.list'); |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Show the form for creating a new resource. |
||
| 54 | * |
||
| 55 | * @return \Illuminate\Http\Response |
||
| 56 | */ |
||
| 57 | public function create() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Store a newly created resource in storage. |
||
| 64 | * |
||
| 65 | * @param \Illuminate\Http\Request $request |
||
| 66 | * @return \Illuminate\Http\Response |
||
| 67 | */ |
||
| 68 | public function store(Request $request) |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Display the specified resource. |
||
| 97 | * |
||
| 98 | * @param int $id |
||
| 99 | * @return \Illuminate\Http\Response |
||
| 100 | */ |
||
| 101 | public function show($id) |
||
| 105 | |||
| 106 | /** |
||
| 107 | * Show the form for editing the specified resource. |
||
| 108 | * |
||
| 109 | * @param int $id |
||
| 110 | * @return \Illuminate\Http\Response |
||
| 111 | */ |
||
| 112 | public function edit($id) |
||
| 116 | |||
| 117 | /** |
||
| 118 | * Update the specified resource in storage. |
||
| 119 | * |
||
| 120 | * @param \Illuminate\Http\Request $request |
||
| 121 | * @param int $id |
||
| 122 | * @return \Illuminate\Http\Response |
||
| 123 | */ |
||
| 124 | public function update(Request $request, $id) |
||
| 128 | |||
| 129 | /** |
||
| 130 | * Remove the specified resource from storage. |
||
| 131 | * |
||
| 132 | * @param int $id |
||
| 133 | * @return \Illuminate\Http\Response |
||
| 134 | */ |
||
| 135 | public function destroy($id) |
||
| 139 | } |
||
| 140 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.