Passed
Branch master (8ab156)
by Curtis
28:23 queued 12:13
created

Notification::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
rs 10
c 1
b 0
f 1
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
Unused Code introduced by
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
Unused Code introduced by
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