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

ChunkAdded   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Jobtech\LaravelChunky\Events;
4
5
use Illuminate\Queue\SerializesModels;
6
use Jobtech\LaravelChunky\Chunk;
7
8
class ChunkAdded
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\ChunkAdded: $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