Issues (465)

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

Severity
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use App\Models\ChatMessage;
6
use Illuminate\Http\Request;
7
8
class ChatMessageController 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
     * @return \Illuminate\Http\Response
35
     */
36
    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

36
    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...
37
    {
38
        //
39
    }
40
41
    /**
42
     * Display the specified resource.
43
     *
44
     * @param  \App\Models\ChatMessage  $chatMessage
45
     * @return \Illuminate\Http\Response
46
     */
47
    public function show(ChatMessage $chatMessage)
0 ignored issues
show
The parameter $chatMessage 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

47
    public function show(/** @scrutinizer ignore-unused */ ChatMessage $chatMessage)

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...
48
    {
49
        //
50
    }
51
52
    /**
53
     * Show the form for editing the specified resource.
54
     *
55
     * @param  \App\Models\ChatMessage  $chatMessage
56
     * @return \Illuminate\Http\Response
57
     */
58
    public function edit(ChatMessage $chatMessage)
0 ignored issues
show
The parameter $chatMessage 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

58
    public function edit(/** @scrutinizer ignore-unused */ ChatMessage $chatMessage)

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...
59
    {
60
        //
61
    }
62
63
    /**
64
     * Update the specified resource in storage.
65
     *
66
     * @param  \Illuminate\Http\Request  $request
67
     * @param  \App\Models\ChatMessage  $chatMessage
68
     * @return \Illuminate\Http\Response
69
     */
70
    public function update(Request $request, ChatMessage $chatMessage)
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

70
    public function update(/** @scrutinizer ignore-unused */ Request $request, ChatMessage $chatMessage)

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 $chatMessage 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

70
    public function update(Request $request, /** @scrutinizer ignore-unused */ ChatMessage $chatMessage)

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...
71
    {
72
        //
73
    }
74
75
    /**
76
     * Remove the specified resource from storage.
77
     *
78
     * @param  \App\Models\ChatMessage  $chatMessage
79
     * @return \Illuminate\Http\Response
80
     */
81
    public function destroy(ChatMessage $chatMessage)
0 ignored issues
show
The parameter $chatMessage 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

81
    public function destroy(/** @scrutinizer ignore-unused */ ChatMessage $chatMessage)

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...
82
    {
83
        //
84
    }
85
}
86