@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function getTemplatePath() |
| 39 | 39 | { |
| 40 | - return ComputopConfig::PROVIDER_NAME . '/' . self::PAYMENT_METHOD; |
|
| 40 | + return ComputopConfig::PROVIDER_NAME.'/'.self::PAYMENT_METHOD; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | */ |
| 120 | 120 | protected function getAbsoluteUrl($path) |
| 121 | 121 | { |
| 122 | - return $this->config->getBaseUrlSsl() . $path; |
|
| 122 | + return $this->config->getBaseUrlSsl().$path; |
|
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | /** |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | */ |
| 139 | 139 | protected function getActionUrl($url, $queryData) |
| 140 | 140 | { |
| 141 | - return $url . '?' . http_build_query($queryData); |
|
| 141 | + return $url.'?'.http_build_query($queryData); |
|
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | /** |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | protected function getComputopPaymentTransfer(QuoteTransfer $quoteTransfer, $paymentSelection) |
| 93 | 93 | { |
| 94 | 94 | $paymentMethod = ucfirst($paymentSelection); |
| 95 | - $method = 'get' . $paymentMethod; |
|
| 95 | + $method = 'get'.$paymentMethod; |
|
| 96 | 96 | $paymentTransfer = $quoteTransfer->getPayment(); |
| 97 | 97 | |
| 98 | 98 | if (!method_exists($paymentTransfer, $method) || ($quoteTransfer->getPayment()->$method() === null)) { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | protected function setComputopPaymentToQuote(QuoteTransfer $quoteTransfer, $paymentSelection, AbstractTransfer $computopPaymentTransfer) |
| 116 | 116 | { |
| 117 | 117 | $paymentMethod = ucfirst($paymentSelection); |
| 118 | - $method = 'set' . $paymentMethod; |
|
| 118 | + $method = 'set'.$paymentMethod; |
|
| 119 | 119 | $paymentTransfer = $quoteTransfer->getPayment(); |
| 120 | 120 | |
| 121 | 121 | if (!method_exists($paymentTransfer, $method) || ($quoteTransfer->getPayment()->$method() === null)) { |
@@ -29,25 +29,25 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function provideDependencies(Container $container) |
| 31 | 31 | { |
| 32 | - $container[self::CLIENT_COMPUTOP] = function (Container $container) { |
|
| 32 | + $container[self::CLIENT_COMPUTOP] = function(Container $container) { |
|
| 33 | 33 | return $container->getLocator()->computop()->client(); |
| 34 | 34 | }; |
| 35 | 35 | |
| 36 | - $container[self::SERVICE_COMPUTOP_API] = function () use ($container) { |
|
| 36 | + $container[self::SERVICE_COMPUTOP_API] = function() use ($container) { |
|
| 37 | 37 | return $container->getLocator()->computopApi()->service(); |
| 38 | 38 | }; |
| 39 | 39 | |
| 40 | - $container[self::CLIENT_QUOTE] = function () use ($container) { |
|
| 40 | + $container[self::CLIENT_QUOTE] = function() use ($container) { |
|
| 41 | 41 | return new ComputopToQuoteClientBridge($container->getLocator()->quote()->client()); |
| 42 | 42 | }; |
| 43 | 43 | |
| 44 | - $container[self::PLUGIN_APPLICATION] = function () { |
|
| 44 | + $container[self::PLUGIN_APPLICATION] = function() { |
|
| 45 | 45 | $pimplePlugin = new Pimple(); |
| 46 | 46 | |
| 47 | 47 | return $pimplePlugin->getApplication(); |
| 48 | 48 | }; |
| 49 | 49 | |
| 50 | - $container[self::STORE] = function () { |
|
| 50 | + $container[self::STORE] = function() { |
|
| 51 | 51 | return new ComputopToStoreBridge(Store::getInstance()); |
| 52 | 52 | }; |
| 53 | 53 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function getTemplatePath() |
| 39 | 39 | { |
| 40 | - return ComputopConfig::PROVIDER_NAME . '/' . self::PAYMENT_METHOD; |
|
| 40 | + return ComputopConfig::PROVIDER_NAME.'/'.self::PAYMENT_METHOD; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function getTemplatePath() |
| 39 | 39 | { |
| 40 | - return ComputopConfig::PROVIDER_NAME . '/' . self::PAYMENT_METHOD; |
|
| 40 | + return ComputopConfig::PROVIDER_NAME.'/'.self::PAYMENT_METHOD; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function getTemplatePath() |
| 39 | 39 | { |
| 40 | - return ComputopConfig::PROVIDER_NAME . '/' . self::PAYMENT_METHOD; |
|
| 40 | + return ComputopConfig::PROVIDER_NAME.'/'.self::PAYMENT_METHOD; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function getTemplatePath() |
| 39 | 39 | { |
| 40 | - return ComputopConfig::PROVIDER_NAME . '/' . self::PAYMENT_METHOD; |
|
| 40 | + return ComputopConfig::PROVIDER_NAME.'/'.self::PAYMENT_METHOD; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function getTemplatePath() |
| 39 | 39 | { |
| 40 | - return ComputopConfig::PROVIDER_NAME . '/' . self::PAYMENT_METHOD; |
|
| 40 | + return ComputopConfig::PROVIDER_NAME.'/'.self::PAYMENT_METHOD; |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |