| 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() |
||
| 58 | { |
||
| 59 | // |
||
| 60 | } |
||
| 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) |
||
| 97 | |||
| 98 | /** |
||
| 99 | * Display the specified resource. |
||
| 100 | * |
||
| 101 | * @param int $id |
||
| 102 | * @return \Illuminate\Http\Response |
||
| 103 | */ |
||
| 104 | public function show($id) |
||
| 108 | |||
| 109 | /** |
||
| 110 | * Show the form for editing the specified resource. |
||
| 111 | * |
||
| 112 | * @param int $id |
||
| 113 | * @return \Illuminate\Http\Response |
||
| 114 | */ |
||
| 115 | public function edit($id) |
||
| 119 | |||
| 120 | /** |
||
| 121 | * Update the specified resource in storage. |
||
| 122 | * |
||
| 123 | * @param \Illuminate\Http\Request $request |
||
| 124 | * @param int $id |
||
| 125 | * @return \Illuminate\Http\Response |
||
| 126 | */ |
||
| 127 | public function update(Request $request, $id) |
||
| 131 | |||
| 132 | /** |
||
| 133 | * Remove the specified resource from storage. |
||
| 134 | * |
||
| 135 | * @param int $id |
||
| 136 | * @return \Illuminate\Http\Response |
||
| 137 | */ |
||
| 138 | public function destroy($id) |
||
| 142 | } |
||
| 143 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.