Completed
Pull Request — master (#397)
by Kristof
03:59
created
src/Offer/Security/SearchQueryFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         StringLiteral $constraint,
61 61
         StringLiteral $offerId
62 62
     ) {
63
-        $constraintStr = '(' . strtolower($constraint->toNative()) . ')';
63
+        $constraintStr = '('.strtolower($constraint->toNative()).')';
64 64
         $offerIdStr = $offerId->toNative();
65 65
 
66 66
         if ($this->sapiVersion->sameValueAs(SapiVersion::V3())) {
@@ -69,6 +69,6 @@  discard block
 block discarded – undo
69 69
             $id = 'cdbid';
70 70
         }
71 71
 
72
-        return '(' . $constraintStr . ' AND ' . $id . ':' . $offerIdStr . ')';
72
+        return '('.$constraintStr.' AND '.$id.':'.$offerIdStr.')';
73 73
     }
74 74
 }
Please login to merge, or discard this patch.