Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
34 | 2 | public function __construct(string $path, string $mimeType, int $fileSize, ?int $width, ?int $height, ?string $filter = null) |
|
35 | { |
||
36 | 2 | $this->setId(); |
|
37 | 2 | $this->path = $path; |
|
38 | 2 | $this->mimeType = $mimeType; |
|
39 | 2 | $this->width = $width; |
|
40 | 2 | $this->height = $height; |
|
41 | 2 | $this->fileSize = $fileSize; |
|
42 | 2 | $this->filter = $filter; |
|
43 | 2 | } |
|
45 |