@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -338,7 +338,7 @@ |
||
338 | 338 | * |
339 | 339 | * @param int $size file size in bytes |
340 | 340 | * @param array $files override '.htaccess' and '.user.ini' locations |
341 | - * @return bool|int false on failure, size on success |
|
341 | + * @return integer false on failure, size on success |
|
342 | 342 | */ |
343 | 343 | public static function setUploadLimit($size, $files = []) { |
344 | 344 | //don't allow user to break his config |
@@ -95,7 +95,7 @@ |
||
95 | 95 | * @param ILogger $logger |
96 | 96 | * @param ITimeFactory $timeFactory |
97 | 97 | * @param L10NFactory $l10nFactory |
98 | - * @param IUrlGenerator $urlGenerator |
|
98 | + * @param IURLGenerator $urlGenerator |
|
99 | 99 | * @param Defaults $defaults |
100 | 100 | * @param string $userId |
101 | 101 | */ |
@@ -261,6 +261,9 @@ discard block |
||
261 | 261 | return '"' . $this->info->getEtag() . '"'; |
262 | 262 | } |
263 | 263 | |
264 | + /** |
|
265 | + * @param string $path |
|
266 | + */ |
|
264 | 267 | private function getPartFileBasePath($path) { |
265 | 268 | $partFileInStorage = \OC::$server->getConfig()->getSystemValue('part_file_in_storage', true); |
266 | 269 | if ($partFileInStorage) { |
@@ -606,6 +609,9 @@ discard block |
||
606 | 609 | return $this->info->getChecksum(); |
607 | 610 | } |
608 | 611 | |
612 | + /** |
|
613 | + * @param string $string |
|
614 | + */ |
|
609 | 615 | protected function header($string) { |
610 | 616 | \header($string); |
611 | 617 | } |
@@ -135,6 +135,10 @@ |
||
135 | 135 | return parent::moveFromCache($sourceCache, $sourcePath, $targetPath); |
136 | 136 | } |
137 | 137 | |
138 | + /** |
|
139 | + * @param ICacheEntry $entry |
|
140 | + * @param string $path |
|
141 | + */ |
|
138 | 142 | protected function formatCacheEntry($entry, $path = null) { |
139 | 143 | if (is_null($path)) { |
140 | 144 | $path = isset($entry['path']) ? $entry['path'] : ''; |