diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-04-17 16:08:15 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-04-17 16:08:15 +0200 |
commit | a2a0eb370b9b8473300e4b687b2bf2e176074f94 (patch) | |
tree | 043458efab8994a0267bae97b5616ff517b5169d /lib/private/files/storage | |
parent | fe654ece99adadb1e4e81c31c6afecd038a2f14b (diff) | |
parent | cc8a4511fea5108cd088d49a27cb34a59d7d59e5 (diff) | |
download | nextcloud-server-a2a0eb370b9b8473300e4b687b2bf2e176074f94.tar.gz nextcloud-server-a2a0eb370b9b8473300e4b687b2bf2e176074f94.zip |
Merge pull request #8222 from owncloud/type-hinting
Type hinting fixes
Diffstat (limited to 'lib/private/files/storage')
-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); |