1 | <?php |
||||||
2 | |||||||
3 | namespace App\Http\Controllers; |
||||||
4 | |||||||
5 | use App\Task; |
||||||
6 | use App\TaskEvent; |
||||||
7 | use Illuminate\Http\Request; |
||||||
8 | |||||||
9 | class TaskEventController extends Controller |
||||||
10 | { |
||||||
11 | /** |
||||||
12 | * Display a listing of the resource. |
||||||
13 | * |
||||||
14 | * @return \Illuminate\Http\Response |
||||||
15 | */ |
||||||
16 | public function index() |
||||||
17 | { |
||||||
18 | |||||||
19 | return Task::all(); |
||||||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||||||
20 | } |
||||||
21 | |||||||
22 | /** |
||||||
23 | * Show the form for creating a new resource. |
||||||
24 | * |
||||||
25 | * @return \Illuminate\Http\Response |
||||||
26 | */ |
||||||
27 | public function create() |
||||||
28 | { |
||||||
29 | // |
||||||
30 | } |
||||||
31 | |||||||
32 | /** |
||||||
33 | * Store a newly created resource in storage. |
||||||
34 | * |
||||||
35 | * @param \Illuminate\Http\Request $request |
||||||
36 | * @return \Illuminate\Http\Response |
||||||
37 | */ |
||||||
38 | public function store(Request $request) |
||||||
0 ignored issues
–
show
The parameter
$request is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||
39 | { |
||||||
40 | // |
||||||
41 | } |
||||||
42 | |||||||
43 | /** |
||||||
44 | * Display the specified resource. |
||||||
45 | * |
||||||
46 | * @param \App\TaskEvent $taskEvent |
||||||
47 | * @return \Illuminate\Http\Response |
||||||
48 | */ |
||||||
49 | public function show(TaskEvent $taskEvent) |
||||||
0 ignored issues
–
show
The parameter
$taskEvent is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||
50 | { |
||||||
51 | // |
||||||
52 | } |
||||||
53 | |||||||
54 | /** |
||||||
55 | * Show the form for editing the specified resource. |
||||||
56 | * |
||||||
57 | * @param \App\TaskEvent $taskEvent |
||||||
58 | * @return \Illuminate\Http\Response |
||||||
59 | */ |
||||||
60 | public function edit(TaskEvent $taskEvent) |
||||||
0 ignored issues
–
show
The parameter
$taskEvent is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||
61 | { |
||||||
62 | // |
||||||
63 | } |
||||||
64 | |||||||
65 | /** |
||||||
66 | * Update the specified resource in storage. |
||||||
67 | * |
||||||
68 | * @param \Illuminate\Http\Request $request |
||||||
69 | * @param \App\TaskEvent $taskEvent |
||||||
70 | * @return \Illuminate\Http\Response |
||||||
71 | */ |
||||||
72 | public function update(Request $request, TaskEvent $taskEvent) |
||||||
0 ignored issues
–
show
The parameter
$taskEvent is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() The parameter
$request is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||
73 | { |
||||||
74 | // |
||||||
75 | } |
||||||
76 | |||||||
77 | /** |
||||||
78 | * Remove the specified resource from storage. |
||||||
79 | * |
||||||
80 | * @param \App\TaskEvent $taskEvent |
||||||
81 | * @return \Illuminate\Http\Response |
||||||
82 | */ |
||||||
83 | public function destroy(TaskEvent $taskEvent) |
||||||
0 ignored issues
–
show
The parameter
$taskEvent is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||||
84 | { |
||||||
85 | // |
||||||
86 | } |
||||||
87 | } |
||||||
88 |