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