Issues (364)

app/Broadcasting/Notification.php (2 issues)

Severity
1
<?php
2
3
namespace App\Broadcasting;
4
5
use App\Models\ImportJob;
6
use App\Models\User;
7
8
class Notification
9
{
10
    /**
11
     * Authenticate the user's access to the channel.
12
     *
13
     * @return array|bool
14
     */
15
    public function join(User $user)
0 ignored issues
show
The parameter $user 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

15
    public function join(/** @scrutinizer ignore-unused */ User $user)

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...
16
    {
17
    }
18
19
    /**
20
     * The user imports Gedcom progress.
21
     *
22
     * @param \App\Models\ImportJob
23
     * @return array|bool
24
     */
25
    public function import(ImportJob $job)
0 ignored issues
show
The parameter $job 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

25
    public function import(/** @scrutinizer ignore-unused */ ImportJob $job)

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...
26
    {
27
    }
28
}
29