Passed
Push — bugfix/supesc-135-easycredit-m... ( 9900be...8fb3ba )
by
unknown
03:09
created
src/SprykerEco/Zed/Easycredit/EasycreditDependencyProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function addUtilEncodingService(Container $container): Container
56 56
     {
57
-        $container->set(static::SERVICE_UTIL_ENCODING, function (Container $container) {
57
+        $container->set(static::SERVICE_UTIL_ENCODING, function(Container $container) {
58 58
             return new EasycreditToUtilEncodingServiceBridge($container->getLocator()->utilEncoding()->service());
59 59
         });
60 60
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function addPluginMoney(Container $container): Container
70 70
     {
71
-        $container->set(static::PLUGIN_MONEY, function () {
71
+        $container->set(static::PLUGIN_MONEY, function() {
72 72
             return new MoneyPlugin();
73 73
         });
74 74
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     protected function addGuzzleClient(Container $container): Container
84 84
     {
85
-        $container->set(static::GUZZLE_CLIENT, function () {
85
+        $container->set(static::GUZZLE_CLIENT, function() {
86 86
             return new Client();
87 87
         });
88 88
 
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Easycredit/Business/Parser/ResponseParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
         }
179 179
 
180 180
         $anfallendeZinsen = isset($payload[static::KEY_RATENPLAN][static::KEY_ZINSEN][static::KEY_ANFALLENDE_ZINSEN]) ?
181
-            (float)$payload[static::KEY_RATENPLAN][static::KEY_ZINSEN][static::KEY_ANFALLENDE_ZINSEN] : null;
181
+            (float) $payload[static::KEY_RATENPLAN][static::KEY_ZINSEN][static::KEY_ANFALLENDE_ZINSEN] : null;
182 182
         $tilgungsplanText = $payload[static::KEY_TILGUNGSPLAN_TEXT] ?? null;
183 183
 
184 184
         $easycreditInterestAndAdjustTotalSumResponseTransfer->setAnfallendeZinsen($anfallendeZinsen);
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Easycredit/Business/Mapper/EasycreditMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
                 static::KEY_GEBURTS_DATUM => '',
226 226
             ],
227 227
             static::KEY_RECHNUNGS_ADRESSE => [
228
-                static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getBillingAddressOrFail()->getAddress1() . $quoteTransfer->getBillingAddressOrFail()->getAddress2(),
228
+                static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getBillingAddressOrFail()->getAddress1().$quoteTransfer->getBillingAddressOrFail()->getAddress2(),
229 229
                 static::KEY_PLZ => $quoteTransfer->getBillingAddressOrFail()->getZipCode(),
230 230
                 static::KEY_ORT => $quoteTransfer->getBillingAddressOrFail()->getCity(),
231 231
                 static::KEY_LAND => $quoteTransfer->getBillingAddressOrFail()->getIso2Code(),
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
             static::KEY_LIEFER_ADRESSE => [
234 234
                 static::KEY_VORNAME => $quoteTransfer->getShippingAddressOrFail()->getFirstName(),
235 235
                 static::KEY_NACHNAME => $quoteTransfer->getShippingAddressOrFail()->getLastName(),
236
-                static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getShippingAddressOrFail()->getAddress1() . $quoteTransfer->getShippingAddressOrFail()->getAddress2(),
236
+                static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getShippingAddressOrFail()->getAddress1().$quoteTransfer->getShippingAddressOrFail()->getAddress2(),
237 237
                 static::KEY_PLZ => $quoteTransfer->getShippingAddressOrFail()->getZipCode(),
238 238
                 static::KEY_ORT => $quoteTransfer->getShippingAddressOrFail()->getCity(),
239 239
                 static::KEY_LAND => $quoteTransfer->getShippingAddressOrFail()->getIso2Code(),
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Easycredit/Business/Api/Adapter/Http/AbstractAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             $responseTransfer->setBody($this->utilEncodingService->decodeJson($response->getBody(), true));
139 139
         } catch (RequestException $requestException) {
140 140
             $errorTransfer = new EasycreditResponseErrorTransfer();
141
-            $errorTransfer->setErrorCode((string)$requestException->getCode());
141
+            $errorTransfer->setErrorCode((string) $requestException->getCode());
142 142
             $errorTransfer->setErrorMessage($requestException->getMessage());
143 143
 
144 144
             $responseTransfer->setError($errorTransfer);
Please login to merge, or discard this patch.