Completed
Push — master ( b1a403...6e9e84 )
by Marcel
11s queued 10s
created

Confirmed   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 22
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace BeyondCode\EmailConfirmation\Events;
4
5
use Illuminate\Queue\SerializesModels;
6
7
/**
8
 * Class Confirmed
9
 * @package BeyondCode\EmailConfirmation\Events
10
 */
11
class Confirmed
12
{
13
    use SerializesModels;
14
15
    /**
16
     * The authenticated user.
17
     *
18
     * @var \Illuminate\Contracts\Auth\Authenticatable
19
     */
20
    public $user;
21
22
    /**
23
     * Create a new event instance.
24
     *
25
     * @param  \Illuminate\Contracts\Auth\Authenticatable  $user
26
     * @return void
0 ignored issues
show
Comprehensibility Best Practice introduced by
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value.

Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.

Please refer to the PHP core documentation on constructors.

Loading history...
27
     */
28
    public function __construct($user)
29
    {
30
        $this->user = $user;
31
    }
32
}