php 5.x has problems with mocking with type hinting...
This commit is contained in:
parent
40f41a6130
commit
ed5f21e0c8
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ class FFProbe
|
||||||
* @return bool
|
* @return bool
|
||||||
* @since 0.10.0
|
* @since 0.10.0
|
||||||
*/
|
*/
|
||||||
public function isValid(string $pathfile)
|
public function isValid($pathfile)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
return $this->format($pathfile)->get('duration') > 0;
|
return $this->format($pathfile)->get('duration') > 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue