diff options
author | Bart Visscher <bartv@thisnet.nl> | 2014-04-15 22:55:20 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2014-04-15 22:55:20 +0200 |
commit | a4b7f5155fbd0c66fa418199305fccd5c2e7bb31 (patch) | |
tree | 3f1be6a3fd81387d47b5966ec0fd1c8d07aa48c1 /lib/private/files | |
parent | d826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (diff) | |
download | nextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.tar.gz nextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.zip |
Fix PHPdoc in lib/private
using scrutinizer patch
Diffstat (limited to 'lib/private/files')
-rw-r--r-- | lib/private/files/storage/common.php | 3 | ||||
-rw-r--r-- | lib/private/files/storage/mappedlocal.php | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php index 33b8549ff78..8a263d4ce1e 100644 --- a/lib/private/files/storage/common.php +++ b/lib/private/files/storage/common.php @@ -363,6 +363,9 @@ abstract class Common implements \OC\Files\Storage\Storage { return false; } + /** + * @param string $path + */ protected function getCachedFile($path) { if (!isset($this->cachedFiles[$path])) { $this->cachedFiles[$path] = $this->toTmpFile($path); diff --git a/lib/private/files/storage/mappedlocal.php b/lib/private/files/storage/mappedlocal.php index 94ee28ca763..75582fd6c83 100644 --- a/lib/private/files/storage/mappedlocal.php +++ b/lib/private/files/storage/mappedlocal.php @@ -360,6 +360,9 @@ class MappedLocal extends \OC\Files\Storage\Common{ $this->mapper->copy($fullPath1, $fullPath2); } + /** + * @param string $path + */ private function stripLeading($path) { if(strpos($path, '/') === 0) { $path = substr($path, 1); |