@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AmaTeam\ElasticSearch\API\Annotation\Mapping\Parameter; |
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 AmaTeam\ElasticSearch\API\Annotation\Mapping\Parameter; |
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 AmaTeam\ElasticSearch\API\Annotation\Mapping\Parameter; |
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 AmaTeam\ElasticSearch\API\Annotation\Mapping\Parameter; |
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 AmaTeam\ElasticSearch\Test\Suite\Acceptance\Mapping; |
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 AmaTeam\ElasticSearch\Mapping; |
6 | 6 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | if ($violations->count() > 0) { |
68 | 68 | $lines = ['Generated mapping failed validation:']; |
69 | 69 | foreach ($violations as $violation) { |
70 | - $lines[] = $violation->getPropertyPath() . ': ' . $violation->getMessage(); |
|
70 | + $lines[] = $violation->getPropertyPath().': '.$violation->getMessage(); |
|
71 | 71 | } |
72 | 72 | throw new ValidationException(implode(PHP_EOL, $lines), $violations); |
73 | 73 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AmaTeam\ElasticSearch\API\Mapping\Validation; |
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 AmaTeam\ElasticSearch\API\Entity\Mapping; |
6 | 6 | |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | /** |
189 | 189 | * @return string[] |
190 | 190 | */ |
191 | - public function getIgnoredParentProperties(): ?array |
|
191 | + public function getIgnoredParentProperties(): ? array |
|
192 | 192 | { |
193 | 193 | return $this->ignoredParentProperties; |
194 | 194 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AmaTeam\ElasticSearch\API\Entity\Mapping; |
6 | 6 |