@@ -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 | |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @return void |
50 | 50 | */ |
51 | - public function validate(array $tagToken, int $contentPtr, ?array $contentToken): void |
|
51 | + public function validate(array $tagToken, int $contentPtr, ? array $contentToken) : void |
|
52 | 52 | { |
53 | 53 | $this->tagToken = $tagToken; |
54 | 54 | $result = false; |