Commit 3d8ea96e authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Fix PHPDoc

Use correct parameters
parent f9784745
......@@ -274,6 +274,8 @@ abstract class Common implements Storage {
/**
* @param string $query
* @param string $dir
* @return array
*/
protected function searchInDir($query, $dir = '') {
$files = array();
......
......@@ -282,6 +282,8 @@ if (\OC_Util::runningOnWindows()) {
/**
* @param string $query
* @param string $dir
* @return array
*/
protected function searchInDir($query, $dir = '') {
$files = array();
......
......@@ -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]);
}
......
......@@ -342,6 +342,8 @@ class MappedLocal extends \OC\Files\Storage\Common {
/**
* @param string $query
* @param string $dir
* @return array
*/
protected function searchInDir($query, $dir = '') {
$files = array();
......
......@@ -609,6 +609,10 @@ class Encryption extends Wrapper {
return $encryptionModule;
}
/**
* @param string $path
* @param int $unencryptedSize
*/
public function updateUnencryptedSize($path, $unencryptedSize) {
$this->unencryptedSize[$path] = $unencryptedSize;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment