Test Failed
Push — master ( 1a9cc9...cac184 )
by Morten
25:35
created

DispatchAudit   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace OwenIt\Auditing\Events;
4
5
use OwenIt\Auditing\Contracts\Auditable;
6
use Illuminate\Foundation\Events\Dispatchable;
7
8
class DispatchAudit
9
{
10
    use Dispatchable;
11
12
    /**
13
     * The Auditable model.
14
     *
15
     * @var Auditable
16
     */
17
    public $model;
18
19
    /**
20
     * Create a new DispatchAudit event instance.
21
     *
22
     * @param Auditable $model
23
     */
24
    public function __construct(Auditable $model)
25
    {
26
        $this->model = $model;
27
    }
28
}
29