Passed
Push — master ( 3b518a...cd2a02 )
by Adam
11:23
created

GuideDeleted   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Coyote\Events;
4
5
use Coyote\Guide;
6
use Illuminate\Queue\SerializesModels;
7
8
class GuideDeleted
9
{
10
    use SerializesModels;
0 ignored issues
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Coyote\Events\GuideDeleted: $id, $relations, $class, $connection, $keyBy
Loading history...
11
12
    public array $guide;
13
14
    public function __construct(Guide $guide)
15
    {
16
        $this->guide = $guide->toArray();
17
    }
18
}
19