@@ -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 @@ 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 | |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | public function getProperty(string $name): PropertyMappingInterface; |
30 | 30 | public function requestProperty(string $name): PropertyMappingInterface; |
31 | 31 | |
32 | - public function getIgnoredParentProperties(): ?array; |
|
32 | + public function getIgnoredParentProperties(): ? array; |
|
33 | 33 | public function setIgnoredParentProperties(string ...$properties): ClassMappingInterface; |
34 | 34 | public function inheritsParentMapping(): bool; |
35 | 35 | public function setInheritsParentMapping(bool $value): ClassMappingInterface; |
@@ -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; |
6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @param string $name |
31 | 31 | * @return EntityInterface[]|null |
32 | 32 | */ |
33 | - public function findHierarchy(string $name): ?array; |
|
33 | + public function findHierarchy(string $name): ? array; |
|
34 | 34 | public function findResolved(string $name): ?EntityInterface; |
35 | 35 | public function exists(string $name): bool; |
36 | 36 | } |
@@ -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\Entity\Mapping; |
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\Entity\Mapping\Inheritance; |
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\Entity\Inheritance; |
6 | 6 |