diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-05-22 00:17:38 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-05-22 00:17:38 +0200 |
commit | 3d8ea96e5576bf1d42a0910f111967937415b7f4 (patch) | |
tree | cee156fe73fe22f138903fd2c7fc87a98483cd65 /lib/private/files/storage/localtempfiletrait.php | |
parent | f9784745776eda5caedbbc72cf516ae70bce6f6a (diff) | |
download | nextcloud-server-3d8ea96e5576bf1d42a0910f111967937415b7f4.tar.gz nextcloud-server-3d8ea96e5576bf1d42a0910f111967937415b7f4.zip |
Fix PHPDoc
Use correct parameters
Diffstat (limited to 'lib/private/files/storage/localtempfiletrait.php')
-rw-r--r-- | lib/private/files/storage/localtempfiletrait.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/private/files/storage/localtempfiletrait.php b/lib/private/files/storage/localtempfiletrait.php index 7dc9b777ea1..e7f51a1807f 100644 --- a/lib/private/files/storage/localtempfiletrait.php +++ b/lib/private/files/storage/localtempfiletrait.php @@ -34,13 +34,12 @@ namespace OC\Files\Storage; */ trait LocalTempFileTrait { - /** - * @var string[] - */ - protected $cachedFiles = array(); + /** @var string[] */ + protected $cachedFiles = []; /** * @param string $path + * @return string */ protected function getCachedFile($path) { if (!isset($this->cachedFiles[$path])) { @@ -49,6 +48,9 @@ trait LocalTempFileTrait { return $this->cachedFiles[$path]; } + /** + * @param string $path + */ protected function removeCachedFile($path) { unset($this->cachedFiles[$path]); } |