aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-05 11:52:40 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-05 11:52:40 +0100
commita92a4809673b63fb82b16a1cfaa8b243b0e1d89d (patch)
treecd5051fd07a67f3d63419d73d94a169527897007 /lib/private/files.php
parent342c2aac98961f91f0fd38423a217cb980dd95b8 (diff)
parent466a08525350eccec6684022adb914c8be898c94 (diff)
downloadnextcloud-server-a92a4809673b63fb82b16a1cfaa8b243b0e1d89d.tar.gz
nextcloud-server-a92a4809673b63fb82b16a1cfaa8b243b0e1d89d.zip
Merge pull request #22149 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Diffstat (limited to 'lib/private/files.php')
-rw-r--r--lib/private/files.php10
1 files changed, 6 insertions, 4 deletions
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) {