| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | 225 | public function __construct($value, $originalName, $mimeType = null, $size = null, $error = null, $test = false) |
|
| 34 | { |
||
| 35 | 225 | $this->constructTrait($value); |
|
| 36 | 165 | $metadata = stream_get_meta_data($this->resource); |
|
| 37 | |||
| 38 | 165 | parent::__construct($metadata['uri'], $originalName, $mimeType, $size, $error, $test); |
|
| 39 | 165 | } |
|
| 40 | } |
||
| 41 |