@@ -331,7 +331,7 @@ |
||
| 331 | 331 | |
| 332 | 332 | /** |
| 333 | 333 | * http basic auth |
| 334 | - * @return string|false (username, or false on failure) |
|
| 334 | + * @return string (username, or false on failure) |
|
| 335 | 335 | */ |
| 336 | 336 | private static function loginUser() { |
| 337 | 337 | if(self::$isLoggedIn === true) { |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | * send a message to the client |
| 89 | 89 | * |
| 90 | 90 | * @param string $type |
| 91 | - * @param mixed $data |
|
| 91 | + * @param string $data |
|
| 92 | 92 | * |
| 93 | 93 | * @throws \BadMethodCallException |
| 94 | 94 | * if only one parameter is given, a typeless message will be send with that parameter as data |
@@ -323,7 +323,7 @@ |
||
| 323 | 323 | /** |
| 324 | 324 | * find all available languages for an app |
| 325 | 325 | * @param string $app App that needs to be translated |
| 326 | - * @return array an array of available languages |
|
| 326 | + * @return string[] an array of available languages |
|
| 327 | 327 | * @deprecated 9.0.0 Use \OC::$server->getL10NFactory()->findAvailableLanguages() instead |
| 328 | 328 | */ |
| 329 | 329 | public static function findAvailableLanguages($app=null) { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | * make preview_icon available as a simple function |
| 183 | 183 | * Returns the path to the preview of the image. |
| 184 | 184 | * @param string $path path of file |
| 185 | - * @return link to the preview |
|
| 185 | + * @return string to the preview |
|
| 186 | 186 | */ |
| 187 | 187 | function preview_icon( $path ) { |
| 188 | 188 | return \OC::$server->getURLGenerator()->linkToRoute('core_ajax_preview', ['x' => 32, 'y' => 32, 'file' => $path]); |
@@ -190,6 +190,7 @@ discard block |
||
| 190 | 190 | |
| 191 | 191 | /** |
| 192 | 192 | * @param string $path |
| 193 | + * @param string $token |
|
| 193 | 194 | */ |
| 194 | 195 | function publicPreview_icon ( $path, $token ) { |
| 195 | 196 | return \OC::$server->getURLGenerator()->linkToRoute('core_ajax_public_preview', ['x' => 32, 'y' => 32, 'file' => $path, 't' => $token]); |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | /** |
| 163 | 163 | * Set the BCC recipients of this message. |
| 164 | 164 | * |
| 165 | - * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
| 165 | + * @param string[] $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
| 166 | 166 | * @return $this |
| 167 | 167 | */ |
| 168 | 168 | public function setBcc(array $recipients) { |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | * Set a value in the cache if it's not already stored |
| 156 | 156 | * |
| 157 | 157 | * @param string $key |
| 158 | - * @param mixed $value |
|
| 158 | + * @param integer $value |
|
| 159 | 159 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
| 160 | 160 | * @return bool |
| 161 | 161 | * @throws \Exception |
@@ -923,7 +923,7 @@ |
||
| 923 | 923 | * @param int $previewWidth |
| 924 | 924 | * @param int $previewHeight |
| 925 | 925 | * |
| 926 | - * @return int[] |
|
| 926 | + * @return double[] |
|
| 927 | 927 | */ |
| 928 | 928 | private function scale($image, $askedWidth, $askedHeight, $previewWidth, $previewHeight) { |
| 929 | 929 | $scalingUp = $this->getScalingUp(); |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * Returns expensive repair steps to be run on the |
| 140 | 140 | * command line with a special option. |
| 141 | 141 | * |
| 142 | - * @return IRepairStep[] |
|
| 142 | + * @return OldGroupMembershipShares[] |
|
| 143 | 143 | */ |
| 144 | 144 | public static function getExpensiveRepairSteps() { |
| 145 | 145 | return [ |
@@ -216,7 +216,6 @@ discard block |
||
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | - * @param int $max |
|
| 220 | 219 | */ |
| 221 | 220 | public function finishProgress() { |
| 222 | 221 | // for now just emit as we did in the past |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @param \Doctrine\DBAL\Connection $connection |
|
| 72 | + * @param \OC\DB\Connection $connection |
|
| 73 | 73 | * @return string[] |
| 74 | 74 | */ |
| 75 | 75 | protected function getAllNonUTF8BinTables($connection) { |