Passed
Push — master ( a383a5...8bc95e )
by
unknown
02:43 queued 12s
created
Model/Plugins/GuestCheckoutLayoutProcessor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     private function addGenderField(&$jsLayout)
111 111
     {
112 112
         $options = $this->getGenderOptions() ?: [];
113
-        $enabled  = $this->isEnabled();
113
+        $enabled = $this->isEnabled();
114 114
         if (!empty($options) && $enabled) {
115 115
             $jsLayout['gender'] = [
116 116
                 'component' => 'Magento_Ui/js/form/element/select',
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     private function addBirthdayField(&$jsLayout)
141 141
     {
142
-        $enabled  = $this->isEnabled();
142
+        $enabled = $this->isEnabled();
143 143
         if ($enabled) {
144 144
             $jsLayout['dob'] = [
145 145
                 'component' => 'Magento_Ui/js/form/element/date',
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 
197 197
         $attribute = $this->_getAttribute('gender');
198 198
         if ($attribute) {
199
-            $options =  $attribute->getOptions() ?: [];
199
+            $options = $attribute->getOptions() ?: [];
200 200
 
201 201
             foreach ($options as $option) {
202 202
                 $optionsData[] = [
Please login to merge, or discard this patch.
Model/Api/Request/Consumerscore.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,14 +124,14 @@
 block discarded – undo
124 124
         }
125 125
 
126 126
         $this->addAddress($oAddress);
127
-        if ($this->addressesChecked->wasAddressCheckedBefore($oAddress, $sType,true) === false) {
127
+        if ($this->addressesChecked->wasAddressCheckedBefore($oAddress, $sType, true) === false) {
128 128
             $aResponse = $this->send();
129 129
             if (isset($aResponse['score']) && $aResponse['score'] === 'U') {
130 130
                 $unknownDefault = $this->shopHelper->getConfigParam('unknown_value', 'creditrating', 'payone_protect');
131 131
                 $aResponse['score'] = empty($unknownDefault) ? 'G' : $unknownDefault;
132 132
             }
133 133
             if ($aResponse['status'] == 'VALID') {
134
-                $this->addressesChecked->addCheckedAddress($oAddress, $aResponse, $sType,true);
134
+                $this->addressesChecked->addCheckedAddress($oAddress, $aResponse, $sType, true);
135 135
             }
136 136
 
137 137
             return $aResponse;
Please login to merge, or discard this patch.
Model/Entities/ApiLog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         if ($sRequest) {
104 104
             try {
105 105
                 $aRequest = unserialize($sRequest);
106
-            } catch(\Exception $exc) {
106
+            } catch (\Exception $exc) {
107 107
                 if ($this->toolkitHelper->isUTF8($sRequest)) {
108 108
                     $aRequest = unserialize(utf8_decode($sRequest));
109 109
                 }
Please login to merge, or discard this patch.
Model/Entities/TransactionStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         if ($sRequest) {
104 104
             try {
105 105
                 $aRequest = unserialize($sRequest);
106
-            } catch(\Exception $exc) {
106
+            } catch (\Exception $exc) {
107 107
                 if ($this->toolkitHelper->isUTF8($sRequest)) {
108 108
                     $aRequest = unserialize(utf8_decode($sRequest));
109 109
                 }
Please login to merge, or discard this patch.