@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | public function showIframeAction() |
131 | 131 | { |
132 | 132 | $this->basket = $this->get('modules')->Basket()->sGetBasket(); |
133 | - $preFill = $this->config['preFillCheckout']; |
|
133 | + $preFill = $this->config['preFillCheckout']; |
|
134 | 134 | if ($this->isUserLoggedIn()) { |
135 | 135 | $user = Shopware()->Modules()->Admin()->sGetUserData(); |
136 | 136 | } |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | |
290 | 290 | // Klarna Prefill checkBox |
291 | 291 | if ($this->isUserLoggedIn()) { |
292 | - $this->View()->assign('KlarnaPreFillSelect', !$this->session['klarnaPreFill']); |
|
292 | + $this->View()->assign('KlarnaPreFillSelect', !$this->session['klarnaPreFill']); |
|
293 | 293 | } |
294 | 294 | |
295 | 295 | // Iframe Backend Config |
@@ -703,8 +703,8 @@ discard block |
||
703 | 703 | } |
704 | 704 | $module->sSYSTEM->_POST = $data['billing']; |
705 | 705 | if ($this->plugin->isShopwareVersionNew()) { |
706 | - $userId = $session->offsetGet('sUserId'); |
|
707 | - $this->updateBilling($userId, $data['billing']); |
|
706 | + $userId = $session->offsetGet('sUserId'); |
|
707 | + $this->updateBilling($userId, $data['billing']); |
|
708 | 708 | } else { |
709 | 709 | $module->sUpdateBilling(); |
710 | 710 | } |
@@ -884,12 +884,12 @@ discard block |
||
884 | 884 | } |
885 | 885 | |
886 | 886 | |
887 | - /** |
|
888 | - * Updates the shipping address |
|
889 | - * |
|
890 | - * @param int $userId |
|
891 | - * @param array $shippingData |
|
892 | - */ |
|
887 | + /** |
|
888 | + * Updates the shipping address |
|
889 | + * |
|
890 | + * @param int $userId |
|
891 | + * @param array $shippingData |
|
892 | + */ |
|
893 | 893 | private function updateShipping($userId, $shippingData) |
894 | 894 | { |
895 | 895 | /** @var \Shopware\Components\Model\ModelManager $em */ |
@@ -902,7 +902,7 @@ discard block |
||
902 | 902 | $addressold = $customer->getDefaultShippingAddress(); |
903 | 903 | $address = new \Shopware\Models\Customer\Address(); |
904 | 904 | |
905 | - /** @var \Shopware\Models\Country\Country $country */ |
|
905 | + /** @var \Shopware\Models\Country\Country $country */ |
|
906 | 906 | $country = $addressold->getCountry(); |
907 | 907 | $shippingData['country'] = $country; |
908 | 908 | if ($shippingData['phone'] === null) { |
@@ -938,7 +938,7 @@ discard block |
||
938 | 938 | /** @var \Shopware\Models\Customer\Address $address */ |
939 | 939 | $address = $customer->getDefaultBillingAddress(); |
940 | 940 | |
941 | - /** @var \Shopware\Models\Country\Country $country */ |
|
941 | + /** @var \Shopware\Models\Country\Country $country */ |
|
942 | 942 | $country = $address->getCountry(); |
943 | 943 | $billingData['country'] = $country; |
944 | 944 | $address->fromArray($billingData); |
@@ -1513,7 +1513,7 @@ discard block |
||
1513 | 1513 | */ |
1514 | 1514 | protected function isUserLoggedIn() |
1515 | 1515 | { |
1516 | - return (isset($this->session->sUserId) && !empty($this->session->sUserId)); |
|
1516 | + return (isset($this->session->sUserId) && !empty($this->session->sUserId)); |
|
1517 | 1517 | } |
1518 | 1518 | |
1519 | 1519 | /** |