@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | protected function addFacadeMoney(Container $container): Container |
| 44 | 44 | { |
| 45 | - $container[static::FACADE_MONEY] = function (Container $container) { |
|
| 45 | + $container[static::FACADE_MONEY] = function(Container $container) { |
|
| 46 | 46 | return new EpiserverToMoneyFacadeBridge($container->getLocator()->money()->facade()); |
| 47 | 47 | }; |
| 48 | 48 | |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | protected function addFacadeLocale(Container $container): Container |
| 58 | 58 | { |
| 59 | - $container[static::FACADE_LOCALE] = function (Container $container) { |
|
| 59 | + $container[static::FACADE_LOCALE] = function(Container $container) { |
|
| 60 | 60 | return new EpiserverToLocaleFacadeBridge($container->getLocator()->locale()->facade()); |
| 61 | 61 | }; |
| 62 | 62 | |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | */ |
| 71 | 71 | protected function addFacadeSales(Container $container): Container |
| 72 | 72 | { |
| 73 | - $container[static::FACADE_SALES] = function (Container $container) { |
|
| 73 | + $container[static::FACADE_SALES] = function(Container $container) { |
|
| 74 | 74 | return new EpiserverToSalesFacadeBridge($container->getLocator()->sales()->facade()); |
| 75 | 75 | }; |
| 76 | 76 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | static::KEY_SPRYKER_ID => $orderTransfer->getFkCustomer(), |
| 82 | 82 | static::KEY_CUSTOMER_SHOP_LOCALE => $locale, |
| 83 | 83 | static::KEY_CUSTOMER_SHOP_URL => $this->config->getHostYves(), |
| 84 | - static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves() . static::URL_LOGIN, |
|
| 84 | + static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves().static::URL_LOGIN, |
|
| 85 | 85 | static::KEY_CUSTOMER_RESET_LINK => '', |
| 86 | 86 | static::KEY_LANGUAGE => $locale, |
| 87 | 87 | static::KEY_ORDER_NUMBER => $orderTransfer->getOrderReference(), |
@@ -175,6 +175,6 @@ discard block |
||
| 175 | 175 | */ |
| 176 | 176 | protected function getLocaleShortName(string $localeName): string |
| 177 | 177 | { |
| 178 | - return (string)array_search($localeName, Store::getInstance()->getLocales()); |
|
| 178 | + return (string) array_search($localeName, Store::getInstance()->getLocales()); |
|
| 179 | 179 | } |
| 180 | 180 | } |
@@ -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 | |
@@ -90,6 +90,6 @@ |
||
| 90 | 90 | */ |
| 91 | 91 | protected function getLocaleShortName(string $localeName): string |
| 92 | 92 | { |
| 93 | - return (string)array_search($localeName, Store::getInstance()->getLocales()); |
|
| 93 | + return (string) array_search($localeName, Store::getInstance()->getLocales()); |
|
| 94 | 94 | } |
| 95 | 95 | } |
@@ -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 | /** |