Completed
Push — typed-attributes ( b22006...0e3714 )
by Kamil
35:39 queued 13:50
created
src/Sylius/Component/Attribute/AttributeType/PercentAttributeType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/AttributeType/IntegerAttributeType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.