From 82a1d96c3ede86447ddb19cc8ae07d633b3c07ca Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 5 May 2017 01:51:28 +0200 Subject: [PATCH] Add missing class hints --- classes/VideoDownload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index 1348333..04db621 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -218,7 +218,7 @@ class VideoDownload * * @return \Symfony\Component\Process\Process Process */ - private function getRtmpProcess($video) + private function getRtmpProcess(\stdClass $video) { if (!shell_exec('which '.$this->config->rtmpdump)) { throw(new \Exception('Can\'t find rtmpdump')); @@ -373,7 +373,7 @@ class VideoDownload * * @return Response HTTP response */ - public function getPlaylistArchiveStream($video, $format) + public function getPlaylistArchiveStream(\stdClass $video, $format) { $playlistItems = []; foreach ($video->entries as $entry) {