@@ -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'] : ''; |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * @param IManager $contactsManager |
|
| 79 | + * @param IContactsManager $contactsManager |
|
| 80 | 80 | */ |
| 81 | 81 | public function setupSystemContactsProvider(IContactsManager $contactsManager) { |
| 82 | 82 | /** @var ContactsManager $cm */ |
@@ -420,7 +420,7 @@ |
||
| 420 | 420 | |
| 421 | 421 | /** |
| 422 | 422 | * Check if app has been installed from git |
| 423 | - * @param string $name name of the application to remove |
|
| 423 | + * @param string $appId |
|
| 424 | 424 | * @return boolean |
| 425 | 425 | * |
| 426 | 426 | * The function will check if the path contains a .git folder |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | * |
| 68 | 68 | * @param string $path source path |
| 69 | 69 | * @param string $destination destination path |
| 70 | - * @return bool|void false to stop handling, void to skip this handler |
|
| 70 | + * @return null|false false to stop handling, void to skip this handler |
|
| 71 | 71 | */ |
| 72 | 72 | public function performMove($path, $destination) { |
| 73 | 73 | if (!$this->server->tree->nodeExists($destination)) { |
@@ -119,6 +119,9 @@ |
||
| 119 | 119 | return Psr7\modify_request($request, $modify); |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | + /** |
|
| 123 | + * @param string $string |
|
| 124 | + */ |
|
| 122 | 125 | private function signString($string, CredentialsInterface $credentials) |
| 123 | 126 | { |
| 124 | 127 | return base64_encode( |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * @param IQueryBuilder $builder |
| 88 | - * @param ISearchOperator $operator |
|
| 88 | + * @param ISearchOperator $operators |
|
| 89 | 89 | */ |
| 90 | 90 | public function searchOperatorArrayToDBExprArray(IQueryBuilder $builder, array $operators) { |
| 91 | 91 | return array_map(function ($operator) use ($builder) { |
@@ -299,7 +299,7 @@ |
||
| 299 | 299 | } |
| 300 | 300 | |
| 301 | 301 | /** |
| 302 | - * @param resource Returns the image resource in any. |
|
| 302 | + * @param resource resource the image resource in any. |
|
| 303 | 303 | * @throws \InvalidArgumentException in case the supplied resource does not have the type "gd" |
| 304 | 304 | */ |
| 305 | 305 | public function setResource($resource) { |