From 466a08525350eccec6684022adb914c8be898c94 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Fri, 5 Feb 2016 09:38:43 +0000 Subject: Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- lib/private/files.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/private/files.php') diff --git a/lib/private/files.php b/lib/private/files.php index 7b451ac19be..a18bcc76519 100644 --- a/lib/private/files.php +++ b/lib/private/files.php @@ -160,6 +160,8 @@ class OC_Files { /** * @param View $view * @param string $name + * @param string $dir + * @param boolean $onlyHeader */ private static function getSingleFile($view, $dir, $name, $onlyHeader) { $filename = $dir . '/' . $name; @@ -185,7 +187,7 @@ class OC_Files { /** * @param View $view - * @param $dir + * @param string $dir * @param string[]|string $files */ public static function lockFiles($view, $dir, $files) { @@ -290,11 +292,11 @@ class OC_Files { } /** - * @param $dir + * @param string $dir * @param $files - * @param $getType + * @param integer $getType * @param View $view - * @param $filename + * @param string $filename */ private static function unlockAllTheFiles($dir, $files, $getType, $view, $filename) { if ($getType === self::FILE) { -- cgit v1.2.3