@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Attribute\AttributeType; |
15 | 15 | |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @return ConstraintViolationListInterface |
72 | 72 | */ |
73 | - private function getValidationErrors(ExecutionContextInterface $context, ?float $value): ConstraintViolationListInterface |
|
73 | + private function getValidationErrors(ExecutionContextInterface $context, ?float $value) : ConstraintViolationListInterface |
|
74 | 74 | { |
75 | 75 | return $context->getValidator()->validate($value, [new NotBlank([])]); |
76 | 76 | } |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Attribute\AttributeType; |
15 | 15 | |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @return ConstraintViolationListInterface |
72 | 72 | */ |
73 | - private function getValidationErrors(ExecutionContextInterface $context, ?int $value): ConstraintViolationListInterface |
|
73 | + private function getValidationErrors(ExecutionContextInterface $context, ?int $value) : ConstraintViolationListInterface |
|
74 | 74 | { |
75 | 75 | return $context->getValidator()->validate($value, [new NotBlank([])]); |
76 | 76 | } |