php 5.x has problems with mocking with type hinting...

This commit is contained in:
jens1o 2017-09-19 20:18:43 +02:00
commit ed5f21e0c8
No known key found for this signature in database
GPG key ID: C7437FC1B445CC49

View file

@ -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;