@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * @param array $entry |
73 | - * @return array |
|
73 | + * @return string |
|
74 | 74 | */ |
75 | 75 | protected function formatCacheEntry($entry) { |
76 | 76 | if (isset($entry['path'])) { |
@@ -189,6 +189,9 @@ discard block |
||
189 | 189 | return $this->cache->getStatus($this->getSourcePath($file)); |
190 | 190 | } |
191 | 191 | |
192 | + /** |
|
193 | + * @param \OCP\Files\Cache\ICacheEntry[] $results |
|
194 | + */ |
|
192 | 195 | private function formatSearchResults($results) { |
193 | 196 | $results = array_filter($results, array($this, 'filterCacheEntry')); |
194 | 197 | $results = array_values($results); |
@@ -52,7 +52,7 @@ |
||
52 | 52 | * Wrapper around file_put_contents($filename, $data) |
53 | 53 | * |
54 | 54 | * @param string $filename |
55 | - * @param $data |
|
55 | + * @param string $data |
|
56 | 56 | * @return int|false |
57 | 57 | */ |
58 | 58 | public function file_put_contents($filename, $data) { |
@@ -150,7 +150,6 @@ |
||
150 | 150 | /** |
151 | 151 | * saves database schema to xml file |
152 | 152 | * @param string $file name of file |
153 | - * @param int $mode |
|
154 | 153 | * @return bool |
155 | 154 | * |
156 | 155 | * TODO: write more documentation |
@@ -412,6 +412,10 @@ |
||
412 | 412 | return $url; |
413 | 413 | } |
414 | 414 | |
415 | + /** |
|
416 | + * @param string $feature |
|
417 | + * @param string $value |
|
418 | + */ |
|
415 | 419 | public function triggerChange($feature, $value = null) { |
416 | 420 | if ($this->emitter) { |
417 | 421 | $this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value)); |
@@ -775,7 +775,6 @@ |
||
775 | 775 | * Fixes major bug in Apache 2.4 / PHP FPM where script_name contains full |
776 | 776 | * uri not just script name e.g /index.php/app/files instead of expected /index.php |
777 | 777 | * @see https://bugs.php.net/bug.php?id=65641 |
778 | - * @param string $name |
|
779 | 778 | * @return string |
780 | 779 | */ |
781 | 780 | private function getRawScriptName() { |
@@ -27,7 +27,6 @@ |
||
27 | 27 | use OCP\IUser; |
28 | 28 | use OCP\ILogger; |
29 | 29 | use OCP\Files\Folder; |
30 | - |
|
31 | 30 | use OC\Share20\Exception\ShareNotFound; |
32 | 31 | |
33 | 32 | /** |