diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-22 21:10:16 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-22 21:10:16 +0200 |
commit | 361d2badd8f5be949acd94f52fc9ba2d0a98052d (patch) | |
tree | 76811147fccd8c0c62bc9884e32a349bf72c8806 /lib/public/Files.php | |
parent | 9a151056d034f4124ea837f77b5a13f35834fd22 (diff) | |
download | nextcloud-server-361d2badd8f5be949acd94f52fc9ba2d0a98052d.tar.gz nextcloud-server-361d2badd8f5be949acd94f52fc9ba2d0a98052d.zip |
Some phpstorm inspection fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/Files.php')
-rw-r--r-- | lib/public/Files.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/public/Files.php b/lib/public/Files.php index 08fcbe0bbeb..3b924ea6a29 100644 --- a/lib/public/Files.php +++ b/lib/public/Files.php @@ -50,7 +50,7 @@ class Files { * @return bool * @since 5.0.0 */ - static function rmdirr( $dir ) { + static public function rmdirr( $dir ) { return \OC_Helper::rmdirr( $dir ); } @@ -61,7 +61,7 @@ class Files { * does NOT work for ownClouds filesystem, use OC_FileSystem::getMimeType instead * @since 5.0.0 */ - static function getMimeType( $path ) { + static public function getMimeType( $path ) { return \OC::$server->getMimeTypeDetector()->detect($path); } @@ -71,8 +71,8 @@ class Files { * @return array * @since 6.0.0 */ - static public function searchByMime( $mimetype ) { - return(\OC\Files\Filesystem::searchByMime( $mimetype )); + static public function searchByMime($mimetype) { + return \OC\Files\Filesystem::searchByMime($mimetype); } /** @@ -119,8 +119,8 @@ class Files { * @return string * @since 5.0.0 */ - public static function buildNotExistingFileName( $path, $filename ) { - return(\OC_Helper::buildNotExistingFileName( $path, $filename )); + public static function buildNotExistingFileName($path, $filename) { + return \OC_Helper::buildNotExistingFileName($path, $filename); } /** @@ -130,7 +130,7 @@ class Files { * @return \OC\Files\View * @since 5.0.0 */ - public static function getStorage( $app ) { + public static function getStorage($app) { return \OC_App::getStorage( $app ); } } |