@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * appending or prepending to the ones previously set for this namespace. |
149 | 149 | * |
150 | 150 | * @param string $prefix The prefix/namespace, with trailing '\\' |
151 | - * @param array|string $paths The PSR-4 base directories |
|
151 | + * @param string $paths The PSR-4 base directories |
|
152 | 152 | * @param bool $prepend Whether to prepend the directories |
153 | 153 | * |
154 | 154 | * @throws \InvalidArgumentException |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * @param bool $isLoggedIn |
103 | 103 | * @param bool $isAdminUser |
104 | 104 | * @param ContentSecurityPolicyManager $contentSecurityPolicyManager |
105 | - * @param CSRFTokenManager $csrfTokenManager |
|
105 | + * @param CsrfTokenManager $csrfTokenManager |
|
106 | 106 | * @param ContentSecurityPolicyNonceManager $cspNonceManager |
107 | 107 | * @param IAppManager $appManager |
108 | 108 | */ |
@@ -338,7 +338,7 @@ |
||
338 | 338 | * |
339 | 339 | * @param int $size file size in bytes |
340 | 340 | * @param array $files override '.htaccess' and '.user.ini' locations |
341 | - * @return bool|int false on failure, size on success |
|
341 | + * @return integer false on failure, size on success |
|
342 | 342 | */ |
343 | 343 | public static function setUploadLimit($size, $files = []) { |
344 | 344 | //don't allow user to break his config |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | * @param int $r |
269 | 269 | * @param int $g |
270 | 270 | * @param int $b |
271 | - * @return double[] Array containing h s l in [0, 1] range |
|
271 | + * @return double Array containing h s l in [0, 1] range |
|
272 | 272 | */ |
273 | 273 | private function rgbToHsl($r, $g, $b) { |
274 | 274 | $r /= 255.0; |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | |
307 | 307 | /** |
308 | 308 | * @param string $text |
309 | - * @return int[] Array containting r g b in the range [0, 255] |
|
309 | + * @return double[] Array containting r g b in the range [0, 255] |
|
310 | 310 | */ |
311 | 311 | private function avatarBackgroundColor($text) { |
312 | 312 | $hash = preg_replace('/[^0-9a-f]+/', '', $text); |
@@ -355,7 +355,7 @@ discard block |
||
355 | 355 | * @param double $h Hue in range [0, 1] |
356 | 356 | * @param double $s Saturation in range [0, 1] |
357 | 357 | * @param double $l Lightness in range [0, 1] |
358 | - * @return int[] Array containing r g b in the range [0, 255] |
|
358 | + * @return double[] Array containing r g b in the range [0, 255] |
|
359 | 359 | */ |
360 | 360 | private function hslToRgb($h, $s, $l){ |
361 | 361 | $hue2rgb = function ($p, $q, $t){ |
@@ -95,7 +95,7 @@ |
||
95 | 95 | * @param ILogger $logger |
96 | 96 | * @param ITimeFactory $timeFactory |
97 | 97 | * @param L10NFactory $l10nFactory |
98 | - * @param IUrlGenerator $urlGenerator |
|
98 | + * @param IURLGenerator $urlGenerator |
|
99 | 99 | * @param Defaults $defaults |
100 | 100 | * @param string $userId |
101 | 101 | */ |