@@ -39,7 +39,7 @@ |
||
39 | 39 | $payload = [ |
40 | 40 | static::KEY_CUSTOMER_SHOP_LOCALE => $this->getLocale($customerTransfer), |
41 | 41 | static::KEY_CUSTOMER_SHOP_URL => $this->config->getHostYves(), |
42 | - static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves() . static::URL_LOGIN, |
|
42 | + static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves().static::URL_LOGIN, |
|
43 | 43 | ]; |
44 | 44 | |
45 | 45 | if ($customerTransfer !== null) { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | |
45 | 45 | $payload = [ |
46 | 46 | static::KEY_CUSTOMER_SHOP_URL => $this->config->getHostYves(), |
47 | - static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves() . static::URL_LOGIN, |
|
47 | + static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves().static::URL_LOGIN, |
|
48 | 48 | static::KEY_CUSTOMER_SHOP_LOCALE => $this->getLocale($customerTransfer), |
49 | 49 | ]; |
50 | 50 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | public function getRequestTimeout() |
31 | 31 | { |
32 | - return (int)$this->get(EpiserverConstants::REQUEST_TIMEOUT); |
|
32 | + return (int) $this->get(EpiserverConstants::REQUEST_TIMEOUT); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | static::KEY_SPRYKER_ID => $orderTransfer->getFkCustomer(), |
90 | 90 | static::KEY_CUSTOMER_SHOP_LOCALE => $locale, |
91 | 91 | static::KEY_CUSTOMER_SHOP_URL => $this->config->getHostYves(), |
92 | - static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves() . static::URL_LOGIN, |
|
92 | + static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves().static::URL_LOGIN, |
|
93 | 93 | static::KEY_CUSTOMER_RESET_LINK => '', |
94 | 94 | static::KEY_LANGUAGE => $locale, |
95 | 95 | static::KEY_ORDER_NUMBER => $orderTransfer->getOrderReference(), |
@@ -183,6 +183,6 @@ discard block |
||
183 | 183 | */ |
184 | 184 | protected function getLocaleShortName(string $localeName): string |
185 | 185 | { |
186 | - return (string)array_search($localeName, $this->store->getLocales()); |
|
186 | + return (string) array_search($localeName, $this->store->getLocales()); |
|
187 | 187 | } |
188 | 188 | } |
@@ -100,6 +100,6 @@ |
||
100 | 100 | */ |
101 | 101 | protected function getLocaleShortName(string $localeName): string |
102 | 102 | { |
103 | - return (string)array_search($localeName, $this->store->getLocales()); |
|
103 | + return (string) array_search($localeName, $this->store->getLocales()); |
|
104 | 104 | } |
105 | 105 | } |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | */ |
46 | 46 | protected function addFacadeMoney(Container $container): Container |
47 | 47 | { |
48 | - $container[static::FACADE_MONEY] = function (Container $container) { |
|
48 | + $container[static::FACADE_MONEY] = function(Container $container) { |
|
49 | 49 | return new EpiserverToMoneyFacadeBridge($container->getLocator()->money()->facade()); |
50 | 50 | }; |
51 | 51 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | protected function addFacadeLocale(Container $container): Container |
61 | 61 | { |
62 | - $container[static::FACADE_LOCALE] = function (Container $container) { |
|
62 | + $container[static::FACADE_LOCALE] = function(Container $container) { |
|
63 | 63 | return new EpiserverToLocaleFacadeBridge($container->getLocator()->locale()->facade()); |
64 | 64 | }; |
65 | 65 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | */ |
74 | 74 | protected function addFacadeSales(Container $container): Container |
75 | 75 | { |
76 | - $container[static::FACADE_SALES] = function (Container $container) { |
|
76 | + $container[static::FACADE_SALES] = function(Container $container) { |
|
77 | 77 | return new EpiserverToSalesFacadeBridge($container->getLocator()->sales()->facade()); |
78 | 78 | }; |
79 | 79 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | */ |
88 | 88 | protected function addStore(Container $container): Container |
89 | 89 | { |
90 | - $container[static::STORE] = function (Container $container) { |
|
90 | + $container[static::STORE] = function(Container $container) { |
|
91 | 91 | return Store::getInstance(); |
92 | 92 | }; |
93 | 93 |