@@ -671,7 +671,7 @@ discard block |
||
| 671 | 671 | * if the size limit for the trash bin is reached, we delete the oldest |
| 672 | 672 | * files in the trash bin until we meet the limit again |
| 673 | 673 | * |
| 674 | - * @param array $files |
|
| 674 | + * @param \OCP\Files\FileInfo[] $files |
|
| 675 | 675 | * @param string $user |
| 676 | 676 | * @param int $availableSpace available disc space |
| 677 | 677 | * @return int size of deleted files |
@@ -699,7 +699,7 @@ discard block |
||
| 699 | 699 | /** |
| 700 | 700 | * delete files older then max storage time |
| 701 | 701 | * |
| 702 | - * @param array $files list of files sorted by mtime |
|
| 702 | + * @param \OCP\Files\FileInfo[] $files list of files sorted by mtime |
|
| 703 | 703 | * @param string $user |
| 704 | 704 | * @return integer[] size of deleted files and number of deleted files |
| 705 | 705 | */ |
@@ -102,6 +102,9 @@ |
||
| 102 | 102 | return \OC_App::getAppVersions(); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | + /** |
|
| 106 | + * @param string $appId |
|
| 107 | + */ |
|
| 105 | 108 | protected function getAppInfo($appId) { |
| 106 | 109 | return \OC_App::getAppInfo($appId); |
| 107 | 110 | } |
@@ -74,8 +74,6 @@ |
||
| 74 | 74 | /** |
| 75 | 75 | * save the configuration value as provided |
| 76 | 76 | * @param string $configID |
| 77 | - * @param string $configKey |
|
| 78 | - * @param string $configValue |
|
| 79 | 77 | */ |
| 80 | 78 | protected function setValue($configID, $key, $value) { |
| 81 | 79 | $configHolder = new Configuration($configID); |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | - * @return int |
|
| 80 | + * @return string |
|
| 81 | 81 | */ |
| 82 | 82 | static private function getRefreshInterval() { |
| 83 | 83 | //defaults to every hour |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | * Looks up a system wide defined value |
| 113 | 113 | * |
| 114 | 114 | * @param string $key the key of the value, under which it was saved |
| 115 | - * @param mixed $default the default value to be returned if the value isn't set |
|
| 115 | + * @param string $default the default value to be returned if the value isn't set |
|
| 116 | 116 | * @return mixed the value or $default |
| 117 | 117 | */ |
| 118 | 118 | public function getSystemValue($key, $default = '') { |
@@ -296,6 +296,9 @@ |
||
| 296 | 296 | } |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | + /** |
|
| 300 | + * @param string $name |
|
| 301 | + */ |
|
| 299 | 302 | private function buildReason($name, $errorCode) { |
| 300 | 303 | if (isset($this->errorMessages[$errorCode])) { |
| 301 | 304 | $desc = $this->list->getDescription($errorCode, $name); |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | 112 | * Gets the correct header |
| 113 | - * @param Http::CONSTANT $status the constant from the Http class |
|
| 113 | + * @param integer $status the constant from the Http class |
|
| 114 | 114 | * @param \DateTime $lastModified formatted last modified date |
| 115 | 115 | * @param string $ETag the etag |
| 116 | 116 | * @return string |
@@ -205,7 +205,7 @@ |
||
| 205 | 205 | /** |
| 206 | 206 | * removes an entry from the comments run time cache |
| 207 | 207 | * |
| 208 | - * @param mixed $id the comment's id |
|
| 208 | + * @param string $id the comment's id |
|
| 209 | 209 | */ |
| 210 | 210 | protected function uncache($id) { |
| 211 | 211 | $id = strval($id); |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * If an SQLLogger is configured, the execution is logged. |
| 174 | 174 | * |
| 175 | 175 | * @param string $query The SQL query to execute. |
| 176 | - * @param array $params The parameters to bind to the query, if any. |
|
| 176 | + * @param string[] $params The parameters to bind to the query, if any. |
|
| 177 | 177 | * @param array $types The types the previous parameters are in. |
| 178 | 178 | * @param \Doctrine\DBAL\Cache\QueryCacheProfile|null $qcp The query cache profile, optional. |
| 179 | 179 | * |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | * columns or sequences. |
| 219 | 219 | * |
| 220 | 220 | * @param string $seqName Name of the sequence object from which the ID should be returned. |
| 221 | - * @return string A string representation of the last inserted ID. |
|
| 221 | + * @return integer A string representation of the last inserted ID. |
|
| 222 | 222 | */ |
| 223 | 223 | public function lastInsertId($seqName = null) { |
| 224 | 224 | if ($seqName) { |