From ed5f21e0c8b78e40cb26310fcf5189a6a50f1d84 Mon Sep 17 00:00:00 2001 From: jens1o Date: Tue, 19 Sep 2017 20:18:43 +0200 Subject: [PATCH] php 5.x has problems with mocking with type hinting... --- src/FFMpeg/FFProbe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FFMpeg/FFProbe.php b/src/FFMpeg/FFProbe.php index 3468969..a1a0ba3 100644 --- a/src/FFMpeg/FFProbe.php +++ b/src/FFMpeg/FFProbe.php @@ -179,7 +179,7 @@ class FFProbe * @return bool * @since 0.10.0 */ - public function isValid(string $pathfile) + public function isValid($pathfile) { try { return $this->format($pathfile)->get('duration') > 0;