Passed
Pull Request — main (#3)
by Viktor
19:55
created
src/Validation/PropertyValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
         $validationResult = new ValidationResult();
14 14
         foreach ($reflectionProperty->getAttributes() as $attribute) {
15 15
             $attributeInstance = $attribute->newInstance();
16
-            if (! $attributeInstance instanceof Rule) {
16
+            if (!$attributeInstance instanceof Rule) {
17 17
                 continue;
18 18
             }
19 19
 
20
-            if (! $attributeInstance->isValid($value)) {
20
+            if (!$attributeInstance->isValid($value)) {
21 21
                 $validationResult->addError($attributeInstance->getMessage());
22 22
             }
23 23
         }
Please login to merge, or discard this patch.