@@ -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 |
@@ -873,7 +873,7 @@ discard block |
||
873 | 873 | $plainbilling['birthday'] = null; |
874 | 874 | } else { |
875 | 875 | $plainbilling['birthday'] = new \DateTime( |
876 | - $plainbilling['birthyear'] . '-' . |
|
876 | + $plainbilling['birthyear'] . '-' . |
|
877 | 877 | $plainbilling['birthmonth'] . '-' . |
878 | 878 | $plainbilling['birthday']); |
879 | 879 | } |
@@ -944,12 +944,12 @@ discard block |
||
944 | 944 | } |
945 | 945 | |
946 | 946 | |
947 | - /** |
|
948 | - * Updates the shipping address |
|
949 | - * |
|
950 | - * @param int $userId |
|
951 | - * @param array $shippingData |
|
952 | - */ |
|
947 | + /** |
|
948 | + * Updates the shipping address |
|
949 | + * |
|
950 | + * @param int $userId |
|
951 | + * @param array $shippingData |
|
952 | + */ |
|
953 | 953 | private function updateShipping($userId, $shippingData) |
954 | 954 | { |
955 | 955 | /** @var \Shopware\Components\Model\ModelManager $em */ |
@@ -962,7 +962,7 @@ discard block |
||
962 | 962 | $addressBefore = $customer->getDefaultShippingAddress(); |
963 | 963 | $address = new \Shopware\Models\Customer\Address(); |
964 | 964 | |
965 | - /** @var \Shopware\Models\Country\Country $country */ |
|
965 | + /** @var \Shopware\Models\Country\Country $country */ |
|
966 | 966 | $country = $addressBefore->getCountry(); |
967 | 967 | $shippingData['country'] = $country; |
968 | 968 | if ($shippingData['phone'] === null) { |
@@ -1026,7 +1026,7 @@ discard block |
||
1026 | 1026 | /** @var \Shopware\Models\Customer\Address $address */ |
1027 | 1027 | $address = $customer->getDefaultBillingAddress(); |
1028 | 1028 | |
1029 | - /** @var \Shopware\Models\Country\Country $country */ |
|
1029 | + /** @var \Shopware\Models\Country\Country $country */ |
|
1030 | 1030 | $country = $address->getCountry(); |
1031 | 1031 | $billingData['country'] = $country; |
1032 | 1032 | $address->fromArray($billingData); |
@@ -1602,7 +1602,7 @@ discard block |
||
1602 | 1602 | */ |
1603 | 1603 | protected function isUserLoggedIn() |
1604 | 1604 | { |
1605 | - return (isset($this->session->sUserId) && !empty($this->session->sUserId)); |
|
1605 | + return (isset($this->session->sUserId) && !empty($this->session->sUserId)); |
|
1606 | 1606 | } |
1607 | 1607 | |
1608 | 1608 | /** |