@@ -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 | |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | throw new InvalidArgumentException('Service definition is not a Closure or invokable object.'); |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - return function ($c) use ($callable) { |
|
| 102 | + return function($c) use ($callable) { |
|
| 103 | 103 | static $object; |
| 104 | 104 | |
| 105 | 105 | if (null === $object) { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | throw new InvalidArgumentException('Callable is not a Closure or invokable object.'); |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | - return function ($c) use ($callable) { |
|
| 128 | + return function($c) use ($callable) { |
|
| 129 | 129 | return $callable; |
| 130 | 130 | }; |
| 131 | 131 | } |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | |
| 178 | 178 | $factory = self::$containerGlobals[$id]; |
| 179 | 179 | |
| 180 | - return self::$containerGlobals[$id] = function ($c) use ($callable, $factory) { |
|
| 180 | + return self::$containerGlobals[$id] = function($c) use ($callable, $factory) { |
|
| 181 | 181 | return $callable($factory($c), $c); |
| 182 | 182 | }; |
| 183 | 183 | } |
@@ -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'); |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | protected function addRefundFacade(Container $container) |
| 45 | 45 | { |
| 46 | - $container[static::FACADE_REFUND] = function (Container $container) { |
|
| 46 | + $container[static::FACADE_REFUND] = function(Container $container) { |
|
| 47 | 47 | return new BraintreeToRefundBridge($container->getLocator()->refund()->facade()); |
| 48 | 48 | }; |
| 49 | 49 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | protected function addCurrencyFacade(Container $container) |
| 59 | 59 | { |
| 60 | - $container[static::FACADE_CURRENCY] = function (Container $container) { |
|
| 60 | + $container[static::FACADE_CURRENCY] = function(Container $container) { |
|
| 61 | 61 | return new BraintreeToCurrencyBridge($container->getLocator()->currency()->facade()); |
| 62 | 62 | }; |
| 63 | 63 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | protected function addMoneyFacade(Container $container) |
| 73 | 73 | { |
| 74 | - $container[static::FACADE_MONEY] = function (Container $container) { |
|
| 74 | + $container[static::FACADE_MONEY] = function(Container $container) { |
|
| 75 | 75 | return new BraintreeToMoneyBridge($container->getLocator()->money()->facade()); |
| 76 | 76 | }; |
| 77 | 77 | |