Issues (45)

app/Http/Controllers/TaskEventController.php (6 issues)

Severity
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use App\TaskEvent;
6
use Illuminate\Http\Request;
7
8
class TaskEventController extends Controller
9
{
10
    /**
11
     * Display a listing of the resource.
12
     *
13
     * @return \Illuminate\Http\Response
14
     */
15
    public function index()
16
    {
17
        //
18
    }
19
20
    /**
21
     * Show the form for creating a new resource.
22
     *
23
     * @return \Illuminate\Http\Response
24
     */
25
    public function create()
26
    {
27
        //
28
    }
29
30
    /**
31
     * Store a newly created resource in storage.
32
     *
33
     * @param \Illuminate\Http\Request $request
34
     *
35
     * @return \Illuminate\Http\Response
36
     */
37
    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 ignore-unused  annotation

37
    public function store(/** @scrutinizer ignore-unused */ Request $request)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
38
    {
39
        //
40
    }
41
42
    /**
43
     * Display the specified resource.
44
     *
45
     * @param \App\TaskEvent $taskEvent
46
     *
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 ignore-unused  annotation

49
    public function show(/** @scrutinizer ignore-unused */ TaskEvent $taskEvent)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
50
    {
51
        //
52
    }
53
54
    /**
55
     * Show the form for editing the specified resource.
56
     *
57
     * @param \App\TaskEvent $taskEvent
58
     *
59
     * @return \Illuminate\Http\Response
60
     */
61
    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 ignore-unused  annotation

61
    public function edit(/** @scrutinizer ignore-unused */ TaskEvent $taskEvent)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
62
    {
63
        //
64
    }
65
66
    /**
67
     * Update the specified resource in storage.
68
     *
69
     * @param \Illuminate\Http\Request $request
70
     * @param \App\TaskEvent           $taskEvent
71
     *
72
     * @return \Illuminate\Http\Response
73
     */
74
    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 ignore-unused  annotation

74
    public function update(Request $request, /** @scrutinizer ignore-unused */ TaskEvent $taskEvent)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
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 ignore-unused  annotation

74
    public function update(/** @scrutinizer ignore-unused */ Request $request, TaskEvent $taskEvent)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
75
    {
76
        //
77
    }
78
79
    /**
80
     * Remove the specified resource from storage.
81
     *
82
     * @param \App\TaskEvent $taskEvent
83
     *
84
     * @return \Illuminate\Http\Response
85
     */
86
    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 ignore-unused  annotation

86
    public function destroy(/** @scrutinizer ignore-unused */ TaskEvent $taskEvent)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
87
    {
88
        //
89
    }
90
}
91