Completed
Pull Request — master (#9942)
by Georg
249:18 queued 220:32
created
lib/private/Avatar.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 	 * Generate png avatar from svg with Imagick
302 302
 	 * 
303 303
 	 * @param int $size
304
-	 * @return string|boolean
304
+	 * @return string
305 305
 	 */
306 306
 	private function generateAvatarFromSvg(int $size) {
307 307
 		if (!extension_loaded('imagick')) {
@@ -387,6 +387,7 @@  discard block
 block discarded – undo
387 387
 	 * Calculate steps between two Colors
388 388
 	 * @param object Color $steps start color
389 389
 	 * @param object Color $ends end color
390
+	 * @param integer $steps
390 391
 	 * @return array [r,g,b] steps for each color to go from $steps to $ends
391 392
 	 */
392 393
 	private function stepCalc($steps, $ends) {
@@ -399,8 +400,9 @@  discard block
 block discarded – undo
399 400
 
400 401
 	/**
401 402
 	 * Convert a string to an integer evenly
402
-	 * @param string $hash the text to parse
403
-	 * @param int $maximum the maximum range
403
+	 * @param integer $steps
404
+	 * @param Color $color1
405
+	 * @param Color $color2
404 406
 	 * @return int between 0 and $maximum
405 407
 	 */
406 408
 	private function mixPalette($steps, $color1, $color2) {
Please login to merge, or discard this patch.
lib/private/Authentication/TwoFactorAuth/Manager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@
 block discarded – undo
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 = [];
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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() === '') {
Please login to merge, or discard this patch.
settings/Controller/AppSettingsController.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -238,7 +238,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 {
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/Schedule/IMipPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 	 * @param ILogger $logger
103 103
 	 * @param ITimeFactory $timeFactory
104 104
 	 * @param L10NFactory $l10nFactory
105
-	 * @param IUrlGenerator $urlGenerator
105
+	 * @param IURLGenerator $urlGenerator
106 106
 	 * @param Defaults $defaults
107 107
 	 * @param ISecureRandom $random
108 108
 	 * @param IDBConnection $db
Please login to merge, or discard this patch.
apps/accessibility/lib/Controller/ConfigController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,6 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.