@@ -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\CodeSniffer\Commenting\TagValidator\Validators; |
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 | namespace BestIt\CodeSniffer\Commenting\TagValidator\Validators; |
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 | namespace BestIt\CodeSniffer\Commenting\TagValidator\Validators; |
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 | namespace BestIt\CodeSniffer\Commenting\TagValidator\Validators; |
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 | namespace BestIt\CodeSniffer\Commenting\TagValidator\Validators; |
6 | 6 |
@@ -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 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * |
42 | 42 | * @return void |
43 | 43 | */ |
44 | - public function validate(array $tagToken, int $contentPtr, ?array $contentToken): void |
|
44 | + public function validate(array $tagToken, int $contentPtr, ? array $contentToken) : void |
|
45 | 45 | { |
46 | 46 | $result = false; |
47 | 47 |
@@ -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\CodeSniffer\Commenting\TagValidator\Validators; |
6 | 6 |
@@ -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 | |
@@ -21,5 +21,5 @@ discard block |
||
21 | 21 | * |
22 | 22 | * @return void |
23 | 23 | */ |
24 | - public function validate(array $tagToken, int $contentPtr, ?array $contentToken): void; |
|
24 | + public function validate(array $tagToken, int $contentPtr, ? array $contentToken) : void; |
|
25 | 25 | } |
@@ -110,7 +110,7 @@ |
||
110 | 110 | array_column($commentTags, 'content') |
111 | 111 | ); |
112 | 112 | |
113 | - uasort($tagNames, function ($tagA, $tagB) use ($sortedMetaTags) { |
|
113 | + uasort($tagNames, function($tagA, $tagB) use ($sortedMetaTags) { |
|
114 | 114 | $expectedPosA = array_search($tagA, $sortedMetaTags, true); |
115 | 115 | $expectedPosB = array_search($tagB, $sortedMetaTags, true); |
116 | 116 |