X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilebackend%2FFSFile.php;h=5141ec5801be7232d92ee2b55bd74b165c16d641;hb=073e1ccf7c2564cc5e74523717a978dd62348b62;hp=e07c99d42d5fecc41c855fb14f3bf98775921296;hpb=67e23ec357d2265bc487bdd4b63e30fcaf5871c7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filebackend/FSFile.php b/includes/filebackend/FSFile.php index e07c99d42d..5141ec5801 100644 --- a/includes/filebackend/FSFile.php +++ b/includes/filebackend/FSFile.php @@ -86,8 +86,8 @@ class FSFile { /** * Guess the MIME type from the file contents alone - * - * @return string + * + * @return string */ public function getMimeType() { return MimeMagic::singleton()->guessMimeType( $this->path, false ); @@ -131,7 +131,7 @@ class FSFile { # Height, width and metadata $handler = MediaHandler::getHandler( $info['mime'] ); if ( $handler ) { - $tempImage = (object)array(); + $tempImage = (object)array(); // XXX (hack for File object) $info['metadata'] = $handler->getMetadata( $tempImage, $this->path ); $gis = $handler->getImageSize( $tempImage, $this->path, $info['metadata'] ); if ( is_array( $gis ) ) { @@ -211,7 +211,7 @@ class FSFile { /** * Get the final file extension from a file system path - * + * * @param $path string * @return string */