media: Add missing return to MediaTransformOutput::streamFile
authorAlangi Derick <alangiderick@gmail.com>
Mon, 3 Dec 2018 14:26:02 +0000 (15:26 +0100)
committerThiemo Kreuz (WMDE) <thiemo.kreuz@wikimedia.de>
Mon, 3 Dec 2018 15:54:54 +0000 (15:54 +0000)
Change-Id: Icf3999ae1a70dc2e702680d9b8c542c0f16f3a17

includes/media/MediaTransformOutput.php

index 010cf80..e3e7343 100644 (file)
@@ -217,7 +217,7 @@ abstract class MediaTransformOutput {
         * @return bool Success
         */
        public function streamFile( $headers = [] ) {
-               $this->streamFileWithStatus( $headers )->isOK();
+               return $this->streamFileWithStatus( $headers )->isOK();
        }
 
        /**