@@ -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\CodeSniffer; |
6 | 6 | |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | bool $exclude = false, |
130 | 130 | ?string $value = null, |
131 | 131 | bool $local = false |
132 | - ): int { |
|
132 | + ) : int { |
|
133 | 133 | $pointer = $this->baseFile->findPrevious($types, $start, $end, $exclude, $value, $local); |
134 | 134 | |
135 | 135 | return $this->preparePointer($pointer); |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | bool $exclude = false, |
233 | 233 | ?string $value = null, |
234 | 234 | bool $local = false |
235 | - ): int { |
|
235 | + ) : int { |
|
236 | 236 | $result = $this->baseFile->findNext($types, $start, $end, $exclude, $value, $local); |
237 | 237 | |
238 | 238 | return $this->preparePointer($result); |
@@ -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\CodeSniffer\Commenting\TagValidator\Validators; |
6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | if ($parts[0] === 'array') { |
33 | - $this->addInvalidFormatWarning($tagToken, 'Please check if you can typehint your array ' . $parts[1]); |
|
33 | + $this->addInvalidFormatWarning($tagToken, 'Please check if you can typehint your array '.$parts[1]); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | $variable = $parts[1]; |