Passed
Push — dev6 ( 83e762...ec3789 )
by Ron
20:09
created

PasswordPolicyUpdatedEvent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 6
c 1
b 0
f 0
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace App\Events\Admin;
4
5
use Faker\Core\Number;
6
use Illuminate\Broadcasting\Channel;
7
use Illuminate\Broadcasting\InteractsWithSockets;
8
use Illuminate\Broadcasting\PresenceChannel;
9
use Illuminate\Broadcasting\PrivateChannel;
10
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
11
use Illuminate\Foundation\Events\Dispatchable;
12
use Illuminate\Queue\SerializesModels;
13
14
class PasswordPolicyUpdatedEvent
15
{
16
    use Dispatchable;
17
    use SerializesModels;
1 ignored issue
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Events\Admin\PasswordPolicyUpdatedEvent: $id, $relations, $class, $connection, $keyBy
Loading history...
18
    use InteractsWithSockets;
19
20
    public $expiryDays;
21
22
    /**
23
     * Create a new event instance
24
     */
25
    public function __construct($expiryDays)
26
    {
27
        $this->expiryDays = $expiryDays;
28
    }
29
}
30