| 1 | <?php |
||
| 13 | class FFMpegProvider implements VideoProviderInterface |
||
| 14 | { |
||
| 15 | /** @var FFMpeg\FFMpeg */ |
||
| 16 | private $ffmpeg; |
||
| 17 | |||
| 18 | /** @var FFMpeg\FFProbe\DataMapping\Stream[] */ |
||
| 19 | private $streams = array(); |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param FFMpeg $ffmpeg |
||
| 23 | */ |
||
| 24 | public function __construct(FFMpeg $ffmpeg) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $pathfile |
||
| 31 | * |
||
| 32 | * @return \FFMpeg\FFProbe\DataMapping\Stream |
||
| 33 | */ |
||
| 34 | protected function getStream($pathfile) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function getDuration($value) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function getHeight($value) |
||
| 66 | |||
| 67 | /** |
||
| 68 | * {@inheritdoc} |
||
| 69 | */ |
||
| 70 | public function getWidth($value) |
||
| 74 | } |
||
| 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..