@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Returns an array of tokens this test wants to listen for. |
43 | 43 | * |
44 | - * @return array |
|
44 | + * @return integer[] |
|
45 | 45 | */ |
46 | 46 | public function register() |
47 | 47 | { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * @param File $phpcsFile The current file being scanned. |
119 | 119 | * @param int $stackPtr Pointer to the first comment line. |
120 | 120 | * |
121 | - * @return type array Pointers to tokens making up the comment block. |
|
121 | + * @return integer[] array Pointers to tokens making up the comment block. |
|
122 | 122 | */ |
123 | 123 | private function _getCommentBlock(File $phpcsFile, $stackPtr) |
124 | 124 | { |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | * Add errors to $phpcsFile, if $commentLines isn't enclosed with blank lines. |
146 | 146 | * |
147 | 147 | * @param File $phpcsFile The current file being scanned. |
148 | - * @param array $commentLines Lines of the comment block being checked. |
|
148 | + * @param integer[] $commentLines Lines of the comment block being checked. |
|
149 | 149 | * |
150 | 150 | * @return bool TRUE if $commentLines is enclosed with at least a blank line |
151 | 151 | * before and after, FALSE otherwise. |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Returns an array of tokens this test wants to listen for. |
37 | 37 | * |
38 | - * @return array |
|
38 | + * @return integer[] |
|
39 | 39 | */ |
40 | 40 | public function register() |
41 | 41 | { |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * Returns an array of tokens this test wants to listen for. |
38 | 38 | * |
39 | - * @return array |
|
39 | + * @return integer[] |
|
40 | 40 | */ |
41 | 41 | public function register() |
42 | 42 | { |
@@ -174,6 +174,7 @@ discard block |
||
174 | 174 | * |
175 | 175 | * @param string $str String to split. |
176 | 176 | * @param int $len number of characters per chunk |
177 | + * @param string $glue |
|
177 | 178 | * |
178 | 179 | * @return array string array after splitting |
179 | 180 | * |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Returns an array of tokens this test wants to listen for: symbolic and literal operators and. |
37 | 37 | * |
38 | - * @return array |
|
38 | + * @return integer[] |
|
39 | 39 | */ |
40 | 40 | public function register() |
41 | 41 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | /** |
42 | 42 | * Returns an array of tokens this test wants to listen for. |
43 | 43 | * |
44 | - * @return array |
|
44 | + * @return integer[] |
|
45 | 45 | */ |
46 | 46 | public function register() |
47 | 47 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Returns an array of tokens this test wants to listen for: literal and symbolic operators or. |
37 | 37 | * |
38 | - * @return array |
|
38 | + * @return integer[] |
|
39 | 39 | */ |
40 | 40 | public function register() |
41 | 41 | { |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | * @param string $dblQtString The double-quoted string content, |
88 | 88 | * i.e. without quotes. |
89 | 89 | * |
90 | - * @return void |
|
90 | + * @return boolean |
|
91 | 91 | */ |
92 | 92 | protected function processDoubleQuotedString (File $phpcsFile, $stackPtr, $dblQtString) |
93 | 93 | { |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * @param string $sglQtString The single-quoted string content, |
135 | 135 | * i.e. without quotes. |
136 | 136 | * |
137 | - * @return void |
|
137 | + * @return boolean |
|
138 | 138 | */ |
139 | 139 | protected function processSingleQuotedString (File $phpcsFile, $stackPtr, $sglQtString) |
140 | 140 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Returns an array of tokens this test wants to listen for. |
50 | 50 | * |
51 | - * @return array |
|
51 | + * @return integer[] |
|
52 | 52 | */ |
53 | 53 | public function register() |
54 | 54 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * Returns an array of tokens this test wants to listen for. |
39 | 39 | * |
40 | - * @return array |
|
40 | + * @return integer[] |
|
41 | 41 | */ |
42 | 42 | public function register() |
43 | 43 | { |