@@ -164,8 +164,8 @@ |
||
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @param array $states |
|
| 168 | - * @param IProvider $providers |
|
| 167 | + * @param string[] $states |
|
| 168 | + * @param IProvider[] $providers |
|
| 169 | 169 | */ |
| 170 | 170 | private function isProviderMissing(array $states, array $providers): bool { |
| 171 | 171 | $indexed = []; |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * @throws \Sabre\DAV\Exception\Forbidden |
| 50 | - * @return bool |
|
| 50 | + * @return false|null |
|
| 51 | 51 | */ |
| 52 | 52 | public function handleAnonymousOptions(RequestInterface $request, ResponseInterface $response) { |
| 53 | 53 | if ($request->getMethod() === 'OPTIONS' && $request->getPath() === '') { |
@@ -238,7 +238,6 @@ discard block |
||
| 238 | 238 | /** |
| 239 | 239 | * Get all available apps in a category |
| 240 | 240 | * |
| 241 | - * @param string $category |
|
| 242 | 241 | * @return JSONResponse |
| 243 | 242 | * @throws \Exception |
| 244 | 243 | */ |
@@ -415,7 +414,7 @@ discard block |
||
| 415 | 414 | * apps will be enabled for specific groups only if $groups is defined |
| 416 | 415 | * |
| 417 | 416 | * @PasswordConfirmationRequired |
| 418 | - * @param array $appIds |
|
| 417 | + * @param string[] $appIds |
|
| 419 | 418 | * @param array $groups |
| 420 | 419 | * @return JSONResponse |
| 421 | 420 | */ |
@@ -479,7 +478,7 @@ discard block |
||
| 479 | 478 | /** |
| 480 | 479 | * @PasswordConfirmationRequired |
| 481 | 480 | * |
| 482 | - * @param array $appIds |
|
| 481 | + * @param string[] $appIds |
|
| 483 | 482 | * @return JSONResponse |
| 484 | 483 | */ |
| 485 | 484 | public function disableApps(array $appIds): JSONResponse { |
@@ -74,7 +74,6 @@ |
||
| 74 | 74 | * |
| 75 | 75 | * Get user accessibility config |
| 76 | 76 | * |
| 77 | - * @param string $key theme or font |
|
| 78 | 77 | * @return DataResponse |
| 79 | 78 | */ |
| 80 | 79 | public function getConfig(): DataResponse { |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | |
| 183 | 183 | /** |
| 184 | 184 | * @param string $dir |
| 185 | - * @param $recursive |
|
| 185 | + * @param boolean $recursive |
|
| 186 | 186 | * @param callable|null $mountFilter |
| 187 | 187 | * @throws ForbiddenException |
| 188 | 188 | * @throws NotFoundException |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | * |
| 204 | 204 | * By default this excludes the automatically generated birthday calendar |
| 205 | 205 | * |
| 206 | - * @param $principalUri |
|
| 206 | + * @param string $principalUri |
|
| 207 | 207 | * @param bool $excludeBirthday |
| 208 | 208 | * @return int |
| 209 | 209 | */ |
@@ -373,7 +373,7 @@ discard block |
||
| 373 | 373 | } |
| 374 | 374 | |
| 375 | 375 | /** |
| 376 | - * @param $principalUri |
|
| 376 | + * @param string $principalUri |
|
| 377 | 377 | * @return array |
| 378 | 378 | */ |
| 379 | 379 | public function getUsersOwnCalendars($principalUri) { |
@@ -1081,7 +1081,7 @@ discard block |
||
| 1081 | 1081 | * calendar-data. If the result of a subsequent GET to this object is not |
| 1082 | 1082 | * the exact same as this request body, you should omit the ETag. |
| 1083 | 1083 | * |
| 1084 | - * @param mixed $calendarId |
|
| 1084 | + * @param integer $calendarId |
|
| 1085 | 1085 | * @param string $objectUri |
| 1086 | 1086 | * @param string $calendarData |
| 1087 | 1087 | * @return string |
@@ -1149,7 +1149,7 @@ discard block |
||
| 1149 | 1149 | * calendar-data. If the result of a subsequent GET to this object is not |
| 1150 | 1150 | * the exact same as this request body, you should omit the ETag. |
| 1151 | 1151 | * |
| 1152 | - * @param mixed $calendarId |
|
| 1152 | + * @param integer $calendarId |
|
| 1153 | 1153 | * @param string $objectUri |
| 1154 | 1154 | * @param string $calendarData |
| 1155 | 1155 | * @return string |
@@ -1917,7 +1917,7 @@ discard block |
||
| 1917 | 1917 | * @param string $principalUri |
| 1918 | 1918 | * @param string $uri |
| 1919 | 1919 | * @param array $properties |
| 1920 | - * @return mixed |
|
| 1920 | + * @return integer |
|
| 1921 | 1921 | */ |
| 1922 | 1922 | function createSubscription($principalUri, $uri, array $properties) { |
| 1923 | 1923 | |
@@ -2475,7 +2475,7 @@ discard block |
||
| 2475 | 2475 | |
| 2476 | 2476 | /** |
| 2477 | 2477 | * @param $subscriptionId |
| 2478 | - * @param $objectUri |
|
| 2478 | + * @param string $objectUri |
|
| 2479 | 2479 | * @param $calendarData |
| 2480 | 2480 | * @return string |
| 2481 | 2481 | * @throws DAV\Exception\BadRequest |
@@ -2553,7 +2553,7 @@ discard block |
||
| 2553 | 2553 | * return legacy endpoint principal name to new principal name |
| 2554 | 2554 | * |
| 2555 | 2555 | * @param $principalUri |
| 2556 | - * @param $toV2 |
|
| 2556 | + * @param boolean $toV2 |
|
| 2557 | 2557 | * @return string |
| 2558 | 2558 | */ |
| 2559 | 2559 | private function convertPrincipal($principalUri, $toV2) { |