@@ -47,7 +47,7 @@ |
||
47 | 47 | * |
48 | 48 | * @since 9.2.0 |
49 | 49 | * |
50 | - * @return array |
|
50 | + * @return integer[] |
|
51 | 51 | */ |
52 | 52 | public function register() |
53 | 53 | { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | * |
46 | 46 | * @since 9.2.0 |
47 | 47 | * |
48 | - * @return array |
|
48 | + * @return string[] |
|
49 | 49 | */ |
50 | 50 | public function register() |
51 | 51 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | /** |
65 | 65 | * Returns an array of tokens this test wants to listen for. |
66 | 66 | * |
67 | - * @return array |
|
67 | + * @return integer[] |
|
68 | 68 | */ |
69 | 69 | public function register() |
70 | 70 | { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | /** |
168 | 168 | * Get an array of the non-PHP-version array keys used in a sub-array. |
169 | 169 | * |
170 | - * @return array |
|
170 | + * @return string[] |
|
171 | 171 | */ |
172 | 172 | protected function getNonVersionArrayKeys() |
173 | 173 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Returns an array of tokens this test wants to listen for. |
33 | 33 | * |
34 | - * @return array |
|
34 | + * @return string[] |
|
35 | 35 | */ |
36 | 36 | public function register() |
37 | 37 | { |
@@ -326,7 +326,7 @@ |
||
326 | 326 | * @param int $end The end of the value definition (inclusive), |
327 | 327 | * i.e. this token will be examined as part of |
328 | 328 | * the snippet. |
329 | - * @param bool $nestedArrays Optional. Array nesting level when examining |
|
329 | + * @param integer $nestedArrays Optional. Array nesting level when examining |
|
330 | 330 | * the content of an array. |
331 | 331 | * |
332 | 332 | * @return bool |
@@ -301,7 +301,7 @@ |
||
301 | 301 | /** |
302 | 302 | * Get an array of the non-PHP-version array keys used in a sub-array. |
303 | 303 | * |
304 | - * @return array |
|
304 | + * @return string[] |
|
305 | 305 | */ |
306 | 306 | protected function getNonVersionArrayKeys() |
307 | 307 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * |
36 | 36 | * @since 9.1.0 |
37 | 37 | * |
38 | - * @return array |
|
38 | + * @return integer[] |
|
39 | 39 | */ |
40 | 40 | public function register() |
41 | 41 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @param string $class The name of the class to load. |
61 | 61 | * |
62 | - * @return bool |
|
62 | + * @return null|boolean |
|
63 | 63 | */ |
64 | 64 | public static function load($class) |
65 | 65 | { |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | /** |
221 | 221 | * Retrieve the namespaces and paths registered by external standards. |
222 | 222 | * |
223 | - * @return array |
|
223 | + * @return string[] |
|
224 | 224 | */ |
225 | 225 | public static function getSearchPaths() |
226 | 226 | { |
@@ -705,7 +705,7 @@ discard block |
||
705 | 705 | * @param string $error The error message. |
706 | 706 | * @param int $line The line on which the error occurred. |
707 | 707 | * @param string $code A violation code unique to the sniff message. |
708 | - * @param array $data Replacements for the error message. |
|
708 | + * @param string[] $data Replacements for the error message. |
|
709 | 709 | * @param int $severity The severity level for this error. A value of 0 |
710 | 710 | * will be converted into the default severity level. |
711 | 711 | * |
@@ -729,7 +729,7 @@ discard block |
||
729 | 729 | * @param string $warning The error message. |
730 | 730 | * @param int $line The line on which the warning occurred. |
731 | 731 | * @param string $code A violation code unique to the sniff message. |
732 | - * @param array $data Replacements for the warning message. |
|
732 | + * @param string[] $data Replacements for the warning message. |
|
733 | 733 | * @param int $severity The severity level for this warning. A value of 0 will |
734 | 734 | * will be converted into the default severity level. |
735 | 735 | * |