@@ -110,7 +110,7 @@ discard block |
||
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 |
||
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 |
||
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[] = [ |
@@ -124,14 +124,14 @@ |
||
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; |
@@ -103,7 +103,7 @@ |
||
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 | } |
@@ -103,7 +103,7 @@ |
||
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 | } |