Skip to content

Commit af102a1

Browse files
committed
Fixed an issue where ()getFileInfo would throw an error if null was returned
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent f0d9c73 commit af102a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/Transcode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,9 @@ public function getAudioUrl($filePath, $audioOptions): string
425425
* @param $filePath
426426
* @param bool $summary
427427
*
428-
* @return array
428+
* @return null|array
429429
*/
430-
public function getFileInfo($filePath, $summary = false): array
430+
public function getFileInfo($filePath, $summary = false)
431431
{
432432
$result = null;
433433
$settings = Transcoder::$plugin->getSettings();

0 commit comments

Comments
 (0)