@@ -327,7 +327,7 @@ |
||
| 327 | 327 | * split user and remote from federated cloud id |
| 328 | 328 | * |
| 329 | 329 | * @param string $address federated share address |
| 330 | - * @return array [user, remoteURL] |
|
| 330 | + * @return string[] [user, remoteURL] |
|
| 331 | 331 | * @throws \Exception |
| 332 | 332 | */ |
| 333 | 333 | public function splitUserRemote($address) { |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * Looks up a system wide defined value |
| 112 | 112 | * |
| 113 | 113 | * @param string $key the key of the value, under which it was saved |
| 114 | - * @param mixed $default the default value to be returned if the value isn't set |
|
| 114 | + * @param string $default the default value to be returned if the value isn't set |
|
| 115 | 115 | * @return mixed the value or $default |
| 116 | 116 | */ |
| 117 | 117 | public function getSystemValue($key, $default = '') { |
@@ -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 |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param object $object an object or classname |
|
| 49 | + * @param \OCP\AppFramework\Controller $object an object or classname |
|
| 50 | 50 | * @param string $method the method which we want to inspect |
| 51 | 51 | */ |
| 52 | 52 | public function reflect($object, $method){ |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | - * @param IJob|string $job |
|
| 79 | + * @param QueuedJob $job |
|
| 80 | 80 | * @param mixed $argument |
| 81 | 81 | */ |
| 82 | 82 | public function remove($job, $argument = null) { |
@@ -202,7 +202,7 @@ |
||
| 202 | 202 | /** |
| 203 | 203 | * removes an entry from the comments run time cache |
| 204 | 204 | * |
| 205 | - * @param mixed $id the comment's id |
|
| 205 | + * @param string $id the comment's id |
|
| 206 | 206 | */ |
| 207 | 207 | protected function uncache($id) { |
| 208 | 208 | $id = strval($id); |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | /** |
| 94 | 94 | * Formats the date of the given timestamp |
| 95 | 95 | * |
| 96 | - * @param int|\DateTime $timestamp Either a Unix timestamp or DateTime object |
|
| 96 | + * @param integer $timestamp Either a Unix timestamp or DateTime object |
|
| 97 | 97 | * @param string $format Either 'full', 'long', 'medium' or 'short' |
| 98 | 98 | * full: e.g. 'EEEE, MMMM d, y' => 'Wednesday, August 20, 2014' |
| 99 | 99 | * long: e.g. 'MMMM d, y' => 'August 20, 2014' |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | /** |
| 193 | 193 | * Gives the relative past time of the timestamp |
| 194 | 194 | * |
| 195 | - * @param int|\DateTime $timestamp Either a Unix timestamp or DateTime object |
|
| 195 | + * @param integer $timestamp Either a Unix timestamp or DateTime object |
|
| 196 | 196 | * @param int|\DateTime $baseTimestamp Timestamp to compare $timestamp against, defaults to current time |
| 197 | 197 | * @return string Dates returned are: |
| 198 | 198 | * < 60 sec => seconds ago |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | /** |
| 229 | 229 | * Formats the date and time of the given timestamp |
| 230 | 230 | * |
| 231 | - * @param int|\DateTime $timestamp Either a Unix timestamp or DateTime object |
|
| 231 | + * @param integer $timestamp Either a Unix timestamp or DateTime object |
|
| 232 | 232 | * @param string $formatDate See formatDate() for description |
| 233 | 233 | * @param string $formatTime See formatTime() for description |
| 234 | 234 | * @param \DateTimeZone $timeZone The timezone to use |
@@ -646,7 +646,7 @@ |
||
| 646 | 646 | * ->where($or); |
| 647 | 647 | * </code> |
| 648 | 648 | * |
| 649 | - * @param mixed $predicates The restriction predicates. |
|
| 649 | + * @param CompositeExpression $predicates The restriction predicates. |
|
| 650 | 650 | * |
| 651 | 651 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
| 652 | 652 | */ |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | * Set a value in the cache if it's not already stored |
| 121 | 121 | * |
| 122 | 122 | * @param string $key |
| 123 | - * @param mixed $value |
|
| 123 | + * @param integer $value |
|
| 124 | 124 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
| 125 | 125 | * @return bool |
| 126 | 126 | */ |