From 1859ab72530b683e1369aa8c37144e0c0a3532f4 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Sat, 27 Nov 2021 00:13:48 +0100 Subject: [PATCH] Fix php 5.3 compatibility --- src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php b/src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php index d2f79bb..65847a7 100644 --- a/src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php +++ b/src/FFMpeg/Filters/Video/ExtractMultipleFramesFilter.php @@ -38,7 +38,7 @@ class ExtractMultipleFramesFilter implements VideoFilterInterface private $frameFileType = 'jpg'; /** @var array */ - private static $supportedFrameFileTypes = ['jpg', 'jpeg', 'png']; + private static $supportedFrameFileTypes = array('jpg', 'jpeg', 'png'); public function __construct($frameRate = self::FRAMERATE_EVERY_SEC, $destinationFolder = __DIR__, $priority = 0) {