@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected function addRefundFacade(Container $container) |
| 37 | 37 | { |
| 38 | - $container[self::FACADE_REFUND] = function (Container $container) { |
|
| 38 | + $container[self::FACADE_REFUND] = function(Container $container) { |
|
| 39 | 39 | return new DummyPaymentToRefundBridge($container->getLocator()->refund()->facade()); |
| 40 | 40 | }; |
| 41 | 41 | return $container; |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | class ProductOptionKeyBuilder implements KeyBuilderInterface |
| 14 | 14 | { |
| 15 | - use KeyBuilderTrait; |
|
| 15 | + use KeyBuilderTrait; |
|
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * @param int $idAbstractProduct |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | foreach ($quoteTransfer->getItems() as $itemTransfer) { |
| 21 | 21 | $itemQuantity = $itemTransfer->getQuantity(); |
| 22 | 22 | foreach ($itemTransfer->getProductOptions() as $productOptionTransfer) { |
| 23 | - $productOptionTransfer->setQuantity($itemQuantity); |
|
| 23 | + $productOptionTransfer->setQuantity($itemQuantity); |
|
| 24 | 24 | } |
| 25 | 25 | } |
| 26 | 26 | |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | public function saveProductOptionGroup(ProductOptionGroupTransfer $productOptionGroupTransfer) |
| 35 | 35 | { |
| 36 | 36 | return $this->getFactory() |
| 37 | - ->createProductOptionGroupSaver() |
|
| 38 | - ->saveProductOptionGroup($productOptionGroupTransfer); |
|
| 37 | + ->createProductOptionGroupSaver() |
|
| 38 | + ->saveProductOptionGroup($productOptionGroupTransfer); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -153,13 +153,13 @@ |
||
| 153 | 153 | { |
| 154 | 154 | if ($this->tableContext === self::TABLE_CONTEXT_EDIT) { |
| 155 | 155 | return [ |
| 156 | - self::COL_CHECKBOX => 'Selected', |
|
| 156 | + self::COL_CHECKBOX => 'Selected', |
|
| 157 | 157 | ]; |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | - return [ |
|
| 161 | - self::COL_ACTIONS => 'Actions', |
|
| 162 | - ]; |
|
| 160 | + return [ |
|
| 161 | + self::COL_ACTIONS => 'Actions', |
|
| 162 | + ]; |
|
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | /** |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function register(Application $app) |
| 27 | 27 | { |
| 28 | - $app->finish(function (Request $request) { |
|
| 28 | + $app->finish(function(Request $request) { |
|
| 29 | 29 | $this->getClient()->persistCacheForRequest($request); |
| 30 | 30 | }); |
| 31 | 31 | } |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | $config = $this->getFactory()->getConfig(); |
| 40 | 40 | $authFacade = $this->getFacade(); |
| 41 | 41 | |
| 42 | - $app->before(function (Request $request) use ($app, $authFacade, $config) { |
|
| 42 | + $app->before(function(Request $request) use ($app, $authFacade, $config) { |
|
| 43 | 43 | $bundle = $request->attributes->get('module'); |
| 44 | 44 | $controller = $request->attributes->get('controller'); |
| 45 | 45 | $action = $request->attributes->get('action'); |
@@ -28,15 +28,15 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function provideBusinessLayerDependencies(Container $container) |
| 30 | 30 | { |
| 31 | - $container[self::FACADE_DISCOUNT] = function (Container $container) { |
|
| 31 | + $container[self::FACADE_DISCOUNT] = function(Container $container) { |
|
| 32 | 32 | return new ProductDiscountConnectorToDiscountBridge($container->getLocator()->discount()->facade()); |
| 33 | 33 | }; |
| 34 | 34 | |
| 35 | - $container[self::FACADE_LOCALE] = function (Container $container) { |
|
| 35 | + $container[self::FACADE_LOCALE] = function(Container $container) { |
|
| 36 | 36 | return new ProductDiscountConnectorToLocaleBridge($container->getLocator()->locale()->facade()); |
| 37 | 37 | }; |
| 38 | 38 | |
| 39 | - $container[self::FACADE_PRODUCT] = function (Container $container) { |
|
| 39 | + $container[self::FACADE_PRODUCT] = function(Container $container) { |
|
| 40 | 40 | return new ProductDiscountConnectorToProductBridge($container->getLocator()->product()->facade()); |
| 41 | 41 | }; |
| 42 | 42 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | protected function addStore(Container $container) |
| 43 | 43 | { |
| 44 | - $container[static::STORE] = function () { |
|
| 44 | + $container[static::STORE] = function() { |
|
| 45 | 45 | return $this->getStore(); |
| 46 | 46 | }; |
| 47 | 47 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | */ |
| 64 | 64 | protected function addMoneyParser(Container $container) |
| 65 | 65 | { |
| 66 | - $container[static::MONEY_PARSER] = function () { |
|
| 66 | + $container[static::MONEY_PARSER] = function() { |
|
| 67 | 67 | $moneyToParserBridge = new MoneyToParserBridge($this->getIntlMoneyParser()); |
| 68 | 68 | |
| 69 | 69 | return $moneyToParserBridge; |