@@ -139,7 +139,7 @@ |
||
139 | 139 | */ |
140 | 140 | protected function filterBundles(array $dependencies) |
141 | 141 | { |
142 | - $callback = function ($bundle) { |
|
142 | + $callback = function($bundle) { |
|
143 | 143 | return !in_array($bundle, $this->bundlesToFilter); |
144 | 144 | }; |
145 | 145 |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | protected function addTwigFunctions(Container $container) |
51 | 51 | { |
52 | - $container[static::GUI_TWIG_FUNCTIONS] = function () { |
|
52 | + $container[static::GUI_TWIG_FUNCTIONS] = function() { |
|
53 | 53 | return $this->getTwigFunctions(); |
54 | 54 | }; |
55 | 55 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | */ |
64 | 64 | protected function addTwigFilter(Container $container) |
65 | 65 | { |
66 | - $container[static::GUI_TWIG_FILTERS] = function () { |
|
66 | + $container[static::GUI_TWIG_FILTERS] = function() { |
|
67 | 67 | return $this->getTwigFilters(); |
68 | 68 | }; |
69 | 69 |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | private function addStorageFacade(Container $container) |
40 | 40 | { |
41 | - $container[self::FACADE_STORAGE] = function (Container $container) { |
|
41 | + $container[self::FACADE_STORAGE] = function(Container $container) { |
|
42 | 42 | return new CollectorStorageConnectorToStorageBridge($container->getLocator()->storage()->facade()); |
43 | 43 | }; |
44 | 44 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | private function addCollectorFacade(Container $container) |
54 | 54 | { |
55 | - $container[self::FACADE_COLLECTOR] = function (Container $container) { |
|
55 | + $container[self::FACADE_COLLECTOR] = function(Container $container) { |
|
56 | 56 | return new CollectorStorageConnectorToCollectorBridge($container->getLocator()->collector()->facade()); |
57 | 57 | }; |
58 | 58 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | private function addCollectorFacade(Container $container) |
37 | 37 | { |
38 | - $container[self::FACADE_COLLECTOR] = function (Container $container) { |
|
38 | + $container[self::FACADE_COLLECTOR] = function(Container $container) { |
|
39 | 39 | return new CollectorSearchConnectorToCollectorBridge($container->getLocator()->collector()->facade()); |
40 | 40 | }; |
41 | 41 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | protected function addUtilNetworkService(Container $container) |
37 | 37 | { |
38 | - $container[self::SERVICE_UTIL_NETWORK] = function (Container $container) { |
|
38 | + $container[self::SERVICE_UTIL_NETWORK] = function(Container $container) { |
|
39 | 39 | return new ZedRequestToUtilNetworkBridge($container->getLocator()->utilNetwork()->service()); |
40 | 40 | }; |
41 | 41 |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | protected function addProductFacade(Container $container) |
40 | 40 | { |
41 | - $container[static::FACADE_PRODUCT] = function (Container $container) { |
|
41 | + $container[static::FACADE_PRODUCT] = function(Container $container) { |
|
42 | 42 | return new TaxProductConnectorToProductBridge($container->getLocator()->product()->facade()); |
43 | 43 | }; |
44 | 44 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | protected function addTaxFacade(Container $container) |
54 | 54 | { |
55 | - $container[static::FACADE_TAX] = function (Container $container) { |
|
55 | + $container[static::FACADE_TAX] = function(Container $container) { |
|
56 | 56 | return new TaxProductConnectorToTaxBridge($container->getLocator()->tax()->facade()); |
57 | 57 | }; |
58 | 58 |
@@ -144,7 +144,7 @@ |
||
144 | 144 | */ |
145 | 145 | protected function getStatus(SpyDiscount $discountEntity) |
146 | 146 | { |
147 | - return $discountEntity->getIsActive() ? 'Active' : 'Inactive'; |
|
147 | + return $discountEntity->getIsActive() ? 'Active' : 'Inactive'; |
|
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function provideServiceLayerDependencies(Container $container) |
23 | 23 | { |
24 | - $container[self::KV_STORAGE] = function (Container $container) { |
|
24 | + $container[self::KV_STORAGE] = function(Container $container) { |
|
25 | 25 | return $container->getLocator()->storage()->client(); |
26 | 26 | }; |
27 | 27 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | { |
60 | 60 | usort( |
61 | 61 | $options, |
62 | - function (ProductOptionTransfer $productOptionLeft, ProductOptionTransfer $productOptionRight) { |
|
62 | + function(ProductOptionTransfer $productOptionLeft, ProductOptionTransfer $productOptionRight) { |
|
63 | 63 | return ($productOptionLeft->getIdProductOptionValue() < $productOptionRight->getIdProductOptionValue()) ? -1 : 1; |
64 | 64 | } |
65 | 65 | ); |