Completed
Push — master ( a43bb8...369074 )
by Neomerx
10:33
created
src/Validation/JsonApi/Rules/ExistInDbTableMultipleWithDoctrineRule.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,13 +83,12 @@
 block discarded – undo
83 83
                 ->where($builder->expr()->in($primaryName, $placeholders))
84 84
                 ->execute();
85 85
 
86
-            $count  = (int)$statement->fetchColumn();
86
+            $count  = (int) $statement->fetchColumn();
87 87
             $result = $count === count($values);
88 88
         }
89 89
 
90 90
         $reply = $result === true ?
91
-            static::createSuccessReply($values) :
92
-            static::createErrorReply($context, $values, ErrorCodes::EXIST_IN_DATABASE_MULTIPLE);
91
+            static::createSuccessReply($values) : static::createErrorReply($context, $values, ErrorCodes::EXIST_IN_DATABASE_MULTIPLE);
93 92
 
94 93
         return $reply;
95 94
     }
Please login to merge, or discard this patch.