@@ -268,7 +268,7 @@ |
||
| 268 | 268 | |
| 269 | 269 | /** |
| 270 | 270 | * @NoCSRFRequired |
| 271 | - * @return DataResponse |
|
| 271 | + * @return DataDisplayResponse |
|
| 272 | 272 | */ |
| 273 | 273 | public function getFailedIntegrityCheckFiles() { |
| 274 | 274 | $completeResults = $this->checker->getResults(); |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * List all installed apps |
| 90 | 90 | * |
| 91 | - * @return string[] |
|
| 91 | + * @return integer[] |
|
| 92 | 92 | */ |
| 93 | 93 | public function getInstalledApps() { |
| 94 | 94 | return array_keys($this->getInstalledAppsValues()); |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | /** |
| 217 | 217 | * Returns a list of apps that need upgrade |
| 218 | 218 | * |
| 219 | - * @param array $version ownCloud version as array of version components |
|
| 219 | + * @param array $ocVersion ownCloud version as array of version components |
|
| 220 | 220 | * @return array list of app info from apps that need an upgrade |
| 221 | 221 | * |
| 222 | 222 | * @internal |
@@ -289,6 +289,9 @@ discard block |
||
| 289 | 289 | return in_array($appId, $this->shippedApps); |
| 290 | 290 | } |
| 291 | 291 | |
| 292 | + /** |
|
| 293 | + * @param string $appId |
|
| 294 | + */ |
|
| 292 | 295 | private function isAlwaysEnabled($appId) { |
| 293 | 296 | $alwaysEnabled = $this->getAlwaysEnabledApps(); |
| 294 | 297 | return in_array($appId, $alwaysEnabled); |
@@ -42,6 +42,9 @@ |
||
| 42 | 42 | protected $testId; |
| 43 | 43 | protected $preName; |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $name |
|
| 47 | + */ |
|
| 45 | 48 | public function __construct($name=null){ |
| 46 | 49 | $this->addType('testId', 'integer'); |
| 47 | 50 | $this->name = $name; |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | |
| 23 | 23 | namespace OC\App; |
| 24 | 24 | |
| 25 | -use OC_Util; |
|
| 26 | 25 | use OCP\IConfig; |
| 27 | 26 | |
| 28 | 27 | /** |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | use OC\Share\MailNotifications; |
| 23 | -use OCP\IConfig; |
|
| 24 | 23 | use OCP\IL10N; |
| 25 | 24 | use OCP\IUser; |
| 26 | 25 | use OCP\Mail\IMailer; |
@@ -153,7 +153,7 @@ |
||
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | 155 | * @param mixed $offset |
| 156 | - * @return mixed |
|
| 156 | + * @return string|null |
|
| 157 | 157 | */ |
| 158 | 158 | public function offsetGet($offset) { |
| 159 | 159 | return $this->get($offset); |
@@ -279,7 +279,7 @@ |
||
| 279 | 279 | /** |
| 280 | 280 | * get share ID |
| 281 | 281 | * |
| 282 | - * @return integer unique share ID |
|
| 282 | + * @return string unique share ID |
|
| 283 | 283 | */ |
| 284 | 284 | public function getShareId() { |
| 285 | 285 | return $this->newShare->getId(); |
@@ -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); |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | * If an SQLLogger is configured, the execution is logged. |
| 168 | 168 | * |
| 169 | 169 | * @param string $query The SQL query to execute. |
| 170 | - * @param array $params The parameters to bind to the query, if any. |
|
| 170 | + * @param string[] $params The parameters to bind to the query, if any. |
|
| 171 | 171 | * @param array $types The types the previous parameters are in. |
| 172 | 172 | * @param \Doctrine\DBAL\Cache\QueryCacheProfile|null $qcp The query cache profile, optional. |
| 173 | 173 | * |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | * columns or sequences. |
| 213 | 213 | * |
| 214 | 214 | * @param string $seqName Name of the sequence object from which the ID should be returned. |
| 215 | - * @return string A string representation of the last inserted ID. |
|
| 215 | + * @return integer A string representation of the last inserted ID. |
|
| 216 | 216 | */ |
| 217 | 217 | public function lastInsertId($seqName = null) |
| 218 | 218 | { |