Completed
Pull Request — master (#6)
by Oleksandr
15:19 queued 09:12
created
Plugin/Customer/InxmailCustomerRestorePasswordMailTypePlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 
92 92
         $mailBuilder->addRecipient(
93 93
             $customerTransfer->getEmail(),
94
-            $customerTransfer->getFirstName() . ' ' . $customerTransfer->getLastName()
94
+            $customerTransfer->getFirstName().' '.$customerTransfer->getLastName()
95 95
         );
96 96
 
97 97
         return $this;
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Inxmail/InxmailDependencyProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     protected function addFacadeSales(Container $container): Container
52 52
     {
53
-        $container[static::FACADE_SALES] = function (Container $container) {
53
+        $container[static::FACADE_SALES] = function(Container $container) {
54 54
             return new InxmailToSalesFacadeBridge($container->getLocator()->sales()->facade());
55 55
         };
56 56
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     protected function addFacadeMoney(Container $container): Container
66 66
     {
67
-        $container[static::FACADE_MONEY] = function (Container $container) {
67
+        $container[static::FACADE_MONEY] = function(Container $container) {
68 68
             return new InxmailToMoneyFacadeBridge($container->getLocator()->money()->facade());
69 69
         };
70 70
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     protected function addFacadeProduct(Container $container): Container
80 80
     {
81
-        $container[static::FACADE_PRODUCT] = function (Container $container) {
81
+        $container[static::FACADE_PRODUCT] = function(Container $container) {
82 82
             return new InxmailToProductFacadeBridge($container->getLocator()->product()->facade());
83 83
         };
84 84
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     protected function addFacadeLocale(Container $container): Container
94 94
     {
95
-        $container[static::FACADE_LOCALE] = function (Container $container) {
95
+        $container[static::FACADE_LOCALE] = function(Container $container) {
96 96
             return new InxmailToLocaleFacadeBridge($container->getLocator()->locale()->facade());
97 97
         };
98 98
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     protected function addUtilDateTimeService(Container $container): Container
108 108
     {
109
-        $container[static::UTIL_DATE_TIME_SERVICE] = function (Container $container) {
109
+        $container[static::UTIL_DATE_TIME_SERVICE] = function(Container $container) {
110 110
             return new InxmailToUtilDateTimeServiceBridge($container->getLocator()->utilDateTime()->service());
111 111
         };
112 112
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     protected function addUtilEncodingService(Container $container): Container
122 122
     {
123
-        $container[static::UTIL_ENCODING_SERVICE] = function (Container $container) {
123
+        $container[static::UTIL_ENCODING_SERVICE] = function(Container $container) {
124 124
             return new InxmailToUtilEncodingServiceBridge($container->getLocator()->utilEncoding()->service());
125 125
         };
126 126
 
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Inxmail/Business/Mapper/Order/AbstractOrderMapper.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,8 +91,7 @@  discard block
 block discarded – undo
91 91
     protected function getPayload(OrderTransfer $orderTransfer): array
92 92
     {
93 93
         $locale = $orderTransfer->getCustomer()->getLocale() ?
94
-            $orderTransfer->getCustomer()->getLocale()->getLocaleName() :
95
-            $this->localeFacade->getCurrentLocaleName();
94
+            $orderTransfer->getCustomer()->getLocale()->getLocaleName() : $this->localeFacade->getCurrentLocaleName();
96 95
 
97 96
         $payload = [
98 97
             'Customer' => [
@@ -283,11 +282,11 @@  discard block
 block discarded – undo
283 282
         $urls = $this->productFacade->getProductUrl($transfer)->getUrls();
284 283
         foreach ($urls as $url) {
285 284
             if ($url->getLocale() === $locale) {
286
-                return $this->config->getHostYves() . $url->getUrl();
285
+                return $this->config->getHostYves().$url->getUrl();
287 286
             }
288 287
         }
289 288
 
290
-        return $this->config->getHostYves() . $urls->offsetGet(0)->getUrl();
289
+        return $this->config->getHostYves().$urls->offsetGet(0)->getUrl();
291 290
     }
292 291
 
293 292
     /**
Please login to merge, or discard this patch.
SprykerEco/Zed/Inxmail/Business/Mapper/Customer/AbstractCustomerMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     {
61 61
         return [
62 62
             'Customer' => [
63
-                'LoginUrl' => $this->config->getHostYves() . static::LOGIN_URL,
63
+                'LoginUrl' => $this->config->getHostYves().static::LOGIN_URL,
64 64
                 'ResetLink' => $customerTransfer->getRestorePasswordLink(),
65 65
                 'Mail' => $customerTransfer->getEmail(),
66 66
                 'Salutation' => $customerTransfer->getSalutation(),
Please login to merge, or discard this patch.