Passed
Push — master ( a019f6...dfd424 )
by Filippo
01:29 queued 16s
created

ChunkDeleted::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
cc 1
eloc 1
c 1
b 1
f 1
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Jobtech\LaravelChunky\Events;
4
5
use Illuminate\Queue\SerializesModels;
6
use Jobtech\LaravelChunky\Chunk;
7
8
class ChunkDeleted
9
{
10
    use SerializesModels;
0 ignored issues
show
introduced by
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Jobtech\LaravelChunky\Events\ChunkDeleted: $id, $relations, $class, $connection, $keyBy
Loading history...
11
12
    /**
13
     * @var \Jobtech\LaravelChunky\Chunk
14
     */
15
    private $chunk;
16
17
    public function __construct(Chunk $chunk)
18
    {
19
        $this->chunk = $chunk;
20
    }
21
}
22