| Conditions | 3 |
| Paths | 3 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | protected function getStream($pathfile) |
||
| 35 | { |
||
| 36 | if (!isset($this->streams[$pathfile])) { |
||
| 37 | try { |
||
| 38 | $this->streams[$pathfile] = $this->ffmpeg->open($pathfile)->getStreams()->first(); |
||
| 39 | } catch (\RuntimeException $e) { |
||
| 40 | throw new NotFoundDataException( |
||
| 41 | sprintf('Unable to provide data for "%s"', $pathfile), |
||
| 42 | $e->getCode(), |
||
| 43 | $e |
||
| 44 | ); |
||
| 45 | } |
||
| 46 | } |
||
| 47 | |||
| 48 | return $this->streams[$pathfile]; |
||
| 49 | } |
||
| 50 | |||
| 75 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..