Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
21 | 6 | public function setFile(string $fileName, string $tmpName, string $mimeType, int $error, int $size): self |
|
22 | { |
||
23 | 6 | $this->value = $fileName; |
|
24 | 6 | $this->mimeType = $mimeType; |
|
25 | 6 | $this->tmpName = $tmpName; |
|
26 | 6 | $this->error = $error; |
|
27 | 6 | $this->size = $size; |
|
28 | 6 | return $this; |
|
29 | } |
||
56 |