@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | protected function addClientCalculation(Container $container): Container |
| 43 | 43 | { |
| 44 | - $container[static::CLIENT_CALCULATION] = function (Container $container) { |
|
| 44 | + $container[static::CLIENT_CALCULATION] = function(Container $container) { |
|
| 45 | 45 | return new EasycreditToCalculationClientBridge($container->getLocator()->calculation()->client()); |
| 46 | 46 | }; |
| 47 | 47 | |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | */ |
| 56 | 56 | protected function addClientQuote(Container $container): Container |
| 57 | 57 | { |
| 58 | - $container[static::CLIENT_QUOTE] = function (Container $container) { |
|
| 58 | + $container[static::CLIENT_QUOTE] = function(Container $container) { |
|
| 59 | 59 | return new EasycreditToQuoteClientBridge($container->getLocator()->quote()->client()); |
| 60 | 60 | }; |
| 61 | 61 | |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | */ |
| 70 | 70 | protected function addPluginMoney(Container $container): Container |
| 71 | 71 | { |
| 72 | - $container[static::PLUGIN_MONEY] = function () { |
|
| 72 | + $container[static::PLUGIN_MONEY] = function() { |
|
| 73 | 73 | return new MoneyPlugin(); |
| 74 | 74 | }; |
| 75 | 75 | |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | */ |
| 63 | 63 | protected function getTemplatePath(): string |
| 64 | 64 | { |
| 65 | - return EasycreditConfig::PROVIDER_NAME . '/' . EasycreditConfig::PAYMENT_METHOD; |
|
| 65 | + return EasycreditConfig::PROVIDER_NAME.'/'.EasycreditConfig::PAYMENT_METHOD; |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function addZedRequestClient(Container $container): Container |
| 36 | 36 | { |
| 37 | - $container[static::CLIENT_ZED_REQUEST] = function (Container $container) { |
|
| 37 | + $container[static::CLIENT_ZED_REQUEST] = function(Container $container) { |
|
| 38 | 38 | return new EasycreditToZedRequestClientBridge($container->getLocator()->zedRequest()->client()); |
| 39 | 39 | }; |
| 40 | 40 | |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | return $easycreditInterestAndAdjustTotalSumResponseTransfer; |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | - $anfallendeZinsen = (float)$payload[static::KEY_RATENPLAN][static::KEY_ZINSEN][static::KEY_ANFALLENDE_ZINSEN] ?? null; |
|
| 123 | + $anfallendeZinsen = (float) $payload[static::KEY_RATENPLAN][static::KEY_ZINSEN][static::KEY_ANFALLENDE_ZINSEN] ?? null; |
|
| 124 | 124 | $tilgungsplanText = $payload[static::KEY_TILGUNGSPLAN_TEXT] ?? null; |
| 125 | 125 | |
| 126 | 126 | $easycreditInterestAndAdjustTotalSumResponseTransfer->setAnfallendeZinsen($anfallendeZinsen); |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | static::KEY_GEBURTS_DATUM => '', |
| 104 | 104 | ], |
| 105 | 105 | static::KEY_RECHNUNGS_ADRESSE => [ |
| 106 | - static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getBillingAddress()->getAddress1() . $quoteTransfer->getBillingAddress()->getAddress2(), |
|
| 106 | + static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getBillingAddress()->getAddress1().$quoteTransfer->getBillingAddress()->getAddress2(), |
|
| 107 | 107 | static::KEY_PLZ => $quoteTransfer->getBillingAddress()->getZipCode(), |
| 108 | 108 | static::KEY_ORT => $quoteTransfer->getBillingAddress()->getCity(), |
| 109 | 109 | static::KEY_LAND => $quoteTransfer->getBillingAddress()->getIso2Code(), |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | static::KEY_LIEFER_ADRESSE => [ |
| 112 | 112 | static::KEY_VORNAME => $quoteTransfer->getShippingAddress()->getFirstName(), |
| 113 | 113 | static::KEY_NACHNAME => $quoteTransfer->getShippingAddress()->getLastName(), |
| 114 | - static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getShippingAddress()->getAddress1() . $quoteTransfer->getShippingAddress()->getAddress2(), |
|
| 114 | + static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getShippingAddress()->getAddress1().$quoteTransfer->getShippingAddress()->getAddress2(), |
|
| 115 | 115 | static::KEY_PLZ => $quoteTransfer->getShippingAddress()->getZipCode(), |
| 116 | 116 | static::KEY_ORT => $quoteTransfer->getShippingAddress()->getCity(), |
| 117 | 117 | static::KEY_LAND => $quoteTransfer->getShippingAddress()->getIso2Code(), |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | protected function addUtilEncodingService(Container $container): Container |
| 39 | 39 | { |
| 40 | - $container[static::SERVICE_UTIL_ENCODING] = function (Container $container) { |
|
| 40 | + $container[static::SERVICE_UTIL_ENCODING] = function(Container $container) { |
|
| 41 | 41 | return new EasycreditToUtilEncodingServiceBridge($container->getLocator()->utilEncoding()->service()); |
| 42 | 42 | }; |
| 43 | 43 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | protected function addPluginMoney(Container $container): Container |
| 53 | 53 | { |
| 54 | - $container[static::PLUGIN_MONEY] = function () { |
|
| 54 | + $container[static::PLUGIN_MONEY] = function() { |
|
| 55 | 55 | return new MoneyPlugin(); |
| 56 | 56 | }; |
| 57 | 57 | |