Passed
Pull Request — master (#22)
by
unknown
01:41
created
src/Model/Order/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
     public function setPurchaseCountry($purchaseCountry)
93 93
     {
94 94
         $upperPurchaseCountry = strtoupper($purchaseCountry);
95
-        if (in_array($upperPurchaseCountry, array('IT','ES','PT','FR'))) {
95
+        if (in_array($upperPurchaseCountry, array('IT', 'ES', 'PT', 'FR'))) {
96 96
             $this->purchaseCountry = $upperPurchaseCountry;
97 97
         } else {
98 98
             $this->purchaseCountry = null;
Please login to merge, or discard this patch.
src/Model/Order/User.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -147,11 +147,11 @@
 block discarded – undo
147 147
             $dateTime = new \DateTime(trim($dateOfBirth));
148 148
             $today = new \DateTime('today');
149 149
             if ($dateTime >= $today) {
150
-                $this->dateOfBirth =  null;
150
+                $this->dateOfBirth = null;
151 151
             }
152
-            $this->dateOfBirth =  $dateTime->format('Y-m-d');
152
+            $this->dateOfBirth = $dateTime->format('Y-m-d');
153 153
         } catch (\Exception $exception) {
154
-            $this->dateOfBirth =  null;
154
+            $this->dateOfBirth = null;
155 155
         }
156 156
 
157 157
         return $this;
Please login to merge, or discard this patch.