Passed
Push — master ( b0e702...cba2a7 )
by
unknown
26:16 queued 16:16
created
src/Observers/CustomerAddressObserver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $customer = $this->loadCustomerByEmailAndWebsiteId($this->getValue(ColumnKeys::EMAIL), $websiteId);
106 106
 
107 107
         if (!$customer) {
108
-            $message =  sprintf(
108
+            $message = sprintf(
109 109
                 'the imported address has no customer with email %s',
110 110
                 $this->getValue(ColumnKeys::EMAIL)
111 111
             );
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
         } catch (\Exception $e) {
318 318
             return $value;
319 319
         }
320
-        if (isset($telConfig) && $telConfig !==  'req') {
320
+        if (isset($telConfig) && $telConfig !== 'req') {
321 321
             return !empty($value) ? $value : '';
322 322
         }
323 323
         return $value;
Please login to merge, or discard this patch.
src/Subjects/AbstractCustomerAddressSubject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     public function getCountryRegionIdByCode($code)
144 144
     {
145 145
         if (isset($this->countryRegions[$code])) {
146
-            return (integer)$this->countryRegions[$code][MemberNames::REGION_ID];
146
+            return (integer) $this->countryRegions[$code][MemberNames::REGION_ID];
147 147
         }
148 148
         return null;
149 149
     }
Please login to merge, or discard this patch.