@@ -38,7 +38,7 @@ |
||
38 | 38 | */ |
39 | 39 | protected function injectPaymentPlugins(Container $container) |
40 | 40 | { |
41 | - $container->extend(PaymentDependencyProvider::CHECKOUT_PLUGINS, function (CheckoutPluginCollection $pluginCollection) { |
|
41 | + $container->extend(PaymentDependencyProvider::CHECKOUT_PLUGINS, function(CheckoutPluginCollection $pluginCollection) { |
|
42 | 42 | $pluginCollection->add(new DummyPaymentPreCheckPlugin(), DummyPaymentConfig::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_PRE_CHECK_PLUGINS); |
43 | 43 | $pluginCollection->add(new DummyPaymentSaveOrderPlugin(), DummyPaymentConfig::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_ORDER_SAVER_PLUGINS); |
44 | 44 | $pluginCollection->add(new DummyPaymentPostCheckPlugin(), DummyPaymentConfig::PROVIDER_NAME, PaymentDependencyProvider::CHECKOUT_POST_SAVE_PLUGINS); |
@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | public function provideCommunicationLayerDependencies(Container $container) |
25 | 25 | { |
26 | - $container[self::FACADE_DISCOUNT] = function (Container $container) { |
|
26 | + $container[self::FACADE_DISCOUNT] = function(Container $container) { |
|
27 | 27 | return new OmsDiscountConnectorToDiscountBridge($container->getLocator()->discount()->facade()); |
28 | 28 | }; |
29 | 29 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | $stores = []; |
4 | 4 | |
5 | 5 | $stores['DE'] = [ |
6 | - 'contexts' => [ // different contexts |
|
6 | + 'contexts' => [// different contexts |
|
7 | 7 | // shared settings for all contexts |
8 | 8 | '*' => [ |
9 | 9 | 'timezone' => 'Europe/Berlin', |
@@ -25,8 +25,8 @@ discard block |
||
25 | 25 | 'locales' => [ |
26 | 26 | 'de' => 'de_DE', |
27 | 27 | 'en' => 'en_US', |
28 | - ], // first entry is default |
|
29 | - 'countries' => ['DE'], // first entry is default |
|
28 | + ], // first entry is default |
|
29 | + 'countries' => ['DE'], // first entry is default |
|
30 | 30 | 'currencyIsoCode' => 'EUR', // internal and shop |
31 | 31 | ]; |
32 | 32 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | public function provideBusinessLayerDependencies(Container $container) |
25 | 25 | { |
26 | - $container[static::FACADE_LOCALE] = function (Container $container) { |
|
26 | + $container[static::FACADE_LOCALE] = function(Container $container) { |
|
27 | 27 | return new ProductImageToLocaleBridge($container->getLocator()->locale()->facade()); |
28 | 28 | }; |
29 | 29 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public function register(Application $app) |
28 | 28 | { |
29 | - $app['monolog.level'] = function () { |
|
29 | + $app['monolog.level'] = function() { |
|
30 | 30 | return Config::get(LogConstants::LOG_LEVEL, Logger::ERROR); |
31 | 31 | }; |
32 | 32 | } |
@@ -76,7 +76,7 @@ |
||
76 | 76 | |
77 | 77 | $response = $this->getFacade()->drawProcess($stateMachineProcessTransfer, $highlightState, $format, $fontSize); |
78 | 78 | |
79 | - $callback = function () use ($response) { |
|
79 | + $callback = function() use ($response) { |
|
80 | 80 | echo $response; |
81 | 81 | }; |
82 | 82 |
@@ -200,7 +200,6 @@ |
||
200 | 200 | * @param string $stateMachineName |
201 | 201 | * @param string[] $states |
202 | 202 | * @param \Spryker\Zed\StateMachine\Business\Process\ProcessInterface $process |
203 | - |
|
204 | 203 | * @return \Generated\Shared\Transfer\StateMachineItemTransfer[] |
205 | 204 | */ |
206 | 205 | protected function getItemsByStatesAndProcessName( |
@@ -24,8 +24,8 @@ |
||
24 | 24 | */ |
25 | 25 | public function read(ProductAbstractTransfer $productAbstractTransfer) |
26 | 26 | { |
27 | - return $this->getFacade() |
|
28 | - ->mapTaxSet($productAbstractTransfer); |
|
27 | + return $this->getFacade() |
|
28 | + ->mapTaxSet($productAbstractTransfer); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | } |
@@ -272,7 +272,7 @@ |
||
272 | 272 | { |
273 | 273 | $credentials = $this->config->getCredentials(); |
274 | 274 | |
275 | - $credential = array_filter($credentials, function ($username) use ($userTransfer) { |
|
275 | + $credential = array_filter($credentials, function($username) use ($userTransfer) { |
|
276 | 276 | return $username === $userTransfer->getUsername(); |
277 | 277 | }, ARRAY_FILTER_USE_KEY); |
278 | 278 |