@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace BestIt\Sniffs\Functions; |
6 | 6 | |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | |
187 | 187 | $phpcsFile->fixer->beginChangeset(); |
188 | 188 | $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1); |
189 | - $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces . 'return $this;'); |
|
189 | + $phpcsFile->fixer->addContentBefore($closingBracePtr - 1, $expectedReturnSpaces.'return $this;'); |
|
190 | 190 | $phpcsFile->fixer->addNewlineBefore($closingBracePtr - 1); |
191 | 191 | $phpcsFile->fixer->endChangeset(); |
192 | 192 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace BestIt\Sniffs\Formatting; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | |
6 | 6 | namespace BestIt\Sniffs\Commenting; |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | /** |
177 | 177 | * Returns an array of tokens this test wants to listen for. |
178 | 178 | * |
179 | - * @return array |
|
179 | + * @return string[] |
|
180 | 180 | */ |
181 | 181 | public function register() |
182 | 182 | { |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | /** |
225 | 225 | * Checks capital letter and spacing of long description |
226 | 226 | * |
227 | - * @param $shortEnd |
|
227 | + * @param integer $shortEnd |
|
228 | 228 | * @param $long |
229 | 229 | * |
230 | 230 | * @return void |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | /** |
311 | 311 | * Checks the method doc block |
312 | 312 | * |
313 | - * @param $stackPtr |
|
313 | + * @param integer $stackPtr |
|
314 | 314 | * @param $commentEnd |
315 | 315 | * |
316 | 316 | * @return void |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace BestIt\Sniffs\Formatting; |
6 | 6 |