@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | protected function addPermissionClient(Container $container) |
| 39 | 39 | { |
| 40 | - $container[static::CLIENT_PERMISSION] = function (Container $container) { |
|
| 40 | + $container[static::CLIENT_PERMISSION] = function(Container $container) { |
|
| 41 | 41 | return new ShopPermissionToPermissionClientBridge($container->getLocator()->permission()->client()); |
| 42 | 42 | }; |
| 43 | 43 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | protected function addPermissionTwigFunctionPlugins(Container $container) |
| 53 | 53 | { |
| 54 | - $container[static::PERMISSION_TWIG_FUNCTION_PLUGINS] = function (Container $container) { |
|
| 54 | + $container[static::PERMISSION_TWIG_FUNCTION_PLUGINS] = function(Container $container) { |
|
| 55 | 55 | return $this->getPermissionTwigFunctionPlugins(); |
| 56 | 56 | }; |
| 57 | 57 | |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | protected function addStore(Container $container) |
| 45 | 45 | { |
| 46 | - $container[static::STORE] = function () { |
|
| 46 | + $container[static::STORE] = function() { |
|
| 47 | 47 | return $this->getStore(); |
| 48 | 48 | }; |
| 49 | 49 | |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | */ |
| 66 | 66 | protected function addMoneyParser(Container $container) |
| 67 | 67 | { |
| 68 | - $container[static::MONEY_PARSER] = function () { |
|
| 68 | + $container[static::MONEY_PARSER] = function() { |
|
| 69 | 69 | $moneyToParserBridge = new MoneyToParserBridge($this->getIntlMoneyParser()); |
| 70 | 70 | |
| 71 | 71 | return $moneyToParserBridge; |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | */ |
| 117 | 117 | protected function addCurrencyPlugin(Container $container) |
| 118 | 118 | { |
| 119 | - $container[static::CURRENCY_PLUGIN] = function () { |
|
| 119 | + $container[static::CURRENCY_PLUGIN] = function() { |
|
| 120 | 120 | return $this->getCurrencyPlugin(); |
| 121 | 121 | }; |
| 122 | 122 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | protected function addNewsletterClient(Container $container) |
| 39 | 39 | { |
| 40 | - $container[static::CLIENT_NEWSLETTER] = function (Container $container) { |
|
| 40 | + $container[static::CLIENT_NEWSLETTER] = function(Container $container) { |
|
| 41 | 41 | return new NewsletterPageToNewsletterClientBridge($container->getLocator()->newsletter()->client()); |
| 42 | 42 | }; |
| 43 | 43 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | protected function addCustomerClient(Container $container) |
| 53 | 53 | { |
| 54 | - $container[static::CLIENT_CUSTOMER] = function (Container $container) { |
|
| 54 | + $container[static::CLIENT_CUSTOMER] = function(Container $container) { |
|
| 55 | 55 | return new NewsletterPageToCustomerClientBridge($container->getLocator()->customer()->client()); |
| 56 | 56 | }; |
| 57 | 57 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | protected function addProductGroupStorageClient($container) |
| 39 | 39 | { |
| 40 | - $container[static::CLIENT_PRODUCT_GROUP_STORAGE] = function (Container $container) { |
|
| 40 | + $container[static::CLIENT_PRODUCT_GROUP_STORAGE] = function(Container $container) { |
|
| 41 | 41 | return new ProductGroupWidgetToProductGroupStorageClientBridge($container->getLocator()->productGroupStorage()->client()); |
| 42 | 42 | }; |
| 43 | 43 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | protected function addProductStorageClient($container) |
| 53 | 53 | { |
| 54 | - $container[static::CLIENT_PRODUCT_STORAGE] = function (Container $container) { |
|
| 54 | + $container[static::CLIENT_PRODUCT_STORAGE] = function(Container $container) { |
|
| 55 | 55 | return new ProductGroupWidgetToProductStorageClientBridge($container->getLocator()->productStorage()->client()); |
| 56 | 56 | }; |
| 57 | 57 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | protected function addQuoteClient(Container $container) |
| 39 | 39 | { |
| 40 | - $container[self::CLIENT_QUOTE] = function (Container $container) { |
|
| 40 | + $container[self::CLIENT_QUOTE] = function(Container $container) { |
|
| 41 | 41 | return new PriceWidgetToQuoteClientBridge($container->getLocator()->quote()->client()); |
| 42 | 42 | }; |
| 43 | 43 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | protected function addPriceClient(Container $container) |
| 53 | 53 | { |
| 54 | - $container[self::CLIENT_PRICE] = function (Container $container) { |
|
| 54 | + $container[self::CLIENT_PRICE] = function(Container $container) { |
|
| 55 | 55 | return new PriceWidgetToPriceClientBridge($container->getLocator()->price()->client()); |
| 56 | 56 | }; |
| 57 | 57 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function provideDependencies(Container $container) |
| 23 | 23 | { |
| 24 | - $container[static::PLUGINS_WEB_PROFILER] = function () { |
|
| 24 | + $container[static::PLUGINS_WEB_PROFILER] = function() { |
|
| 25 | 25 | return $this->getWebProfilerPlugins(); |
| 26 | 26 | }; |
| 27 | 27 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function addProductOptionClient(Container $container) |
| 36 | 36 | { |
| 37 | - $container[self::CLIENT_PRODUCT_OPTION_STORAGE] = function (Container $container) { |
|
| 37 | + $container[self::CLIENT_PRODUCT_OPTION_STORAGE] = function(Container $container) { |
|
| 38 | 38 | return new ProductOptionWidgetToProductOptionStorageClientBridge($container->getLocator()->productOptionStorage()->client()); |
| 39 | 39 | }; |
| 40 | 40 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | protected function addSearchClient(Container $container) |
| 53 | 53 | { |
| 54 | - $container[self::CLIENT_SEARCH] = function (Container $container) { |
|
| 54 | + $container[self::CLIENT_SEARCH] = function(Container $container) { |
|
| 55 | 55 | return new CatalogPageToSearchClientBridge($container->getLocator()->search()->client()); |
| 56 | 56 | }; |
| 57 | 57 | |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | */ |
| 66 | 66 | protected function addCategoryStorageClient(Container $container) |
| 67 | 67 | { |
| 68 | - $container[static::CLIENT_CATEGORY_STORAGE] = function (Container $container) { |
|
| 68 | + $container[static::CLIENT_CATEGORY_STORAGE] = function(Container $container) { |
|
| 69 | 69 | return new CatalogPageToCategoryStorageClientBridge($container->getLocator()->categoryStorage()->client()); |
| 70 | 70 | }; |
| 71 | 71 | |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | */ |
| 80 | 80 | protected function addLocaleClient(Container $container) |
| 81 | 81 | { |
| 82 | - $container[static::CLIENT_LOCALE] = function (Container $container) { |
|
| 82 | + $container[static::CLIENT_LOCALE] = function(Container $container) { |
|
| 83 | 83 | return new CatalogPageToLocaleClientBridge($container->getLocator()->locale()->client()); |
| 84 | 84 | }; |
| 85 | 85 | |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | protected function addCatalogClient(Container $container) |
| 95 | 95 | { |
| 96 | - $container[static::CLIENT_CATALOG] = function (Container $container) { |
|
| 96 | + $container[static::CLIENT_CATALOG] = function(Container $container) { |
|
| 97 | 97 | return new CatalogPageToCatalogClientBridge($container->getLocator()->catalog()->client()); |
| 98 | 98 | }; |
| 99 | 99 | |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | */ |
| 108 | 108 | protected function addProductCategoryFilterClient(Container $container) |
| 109 | 109 | { |
| 110 | - $container[static::CLIENT_PRODUCT_CATEGORY_FILTER] = function (Container $container) { |
|
| 110 | + $container[static::CLIENT_PRODUCT_CATEGORY_FILTER] = function(Container $container) { |
|
| 111 | 111 | return new CatalogPageToProductCategoryFilterClientBridge($container->getLocator()->productCategoryFilter()->client()); |
| 112 | 112 | }; |
| 113 | 113 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | */ |
| 122 | 122 | protected function addProductCategoryFilterStorageClient(Container $container) |
| 123 | 123 | { |
| 124 | - $container[static::CLIENT_PRODUCT_CATEGORY_FILTER_STORAGE] = function (Container $container) { |
|
| 124 | + $container[static::CLIENT_PRODUCT_CATEGORY_FILTER_STORAGE] = function(Container $container) { |
|
| 125 | 125 | return new CatalogPageToProductCategoryFilterStorageClientBridge($container->getLocator()->productCategoryFilterStorage()->client()); |
| 126 | 126 | }; |
| 127 | 127 | |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | */ |
| 136 | 136 | protected function addCatalogPageWidgetPlugins(Container $container) |
| 137 | 137 | { |
| 138 | - $container[static::PLUGIN_CATALOG_PAGE_WIDGETS] = function () { |
|
| 138 | + $container[static::PLUGIN_CATALOG_PAGE_WIDGETS] = function() { |
|
| 139 | 139 | return $this->getCatalogPageWidgetPlugins(); |
| 140 | 140 | }; |
| 141 | 141 | |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | protected function addCustomerClient(Container $container) |
| 45 | 45 | { |
| 46 | - $container[static::CLIENT_CUSTOMER] = function (Container $container) { |
|
| 46 | + $container[static::CLIENT_CUSTOMER] = function(Container $container) { |
|
| 47 | 47 | return new ProductReviewWidgetToCustomerClientBridge($container->getLocator()->customer()->client()); |
| 48 | 48 | }; |
| 49 | 49 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | protected function addProductReviewClient(Container $container) |
| 59 | 59 | { |
| 60 | - $container[static::CLIENT_PRODUCT_REVIEW] = function (Container $container) { |
|
| 60 | + $container[static::CLIENT_PRODUCT_REVIEW] = function(Container $container) { |
|
| 61 | 61 | return new ProductReviewWidgetToProductReviewClientBridge($container->getLocator()->productReview()->client()); |
| 62 | 62 | }; |
| 63 | 63 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | protected function addProductReviewStorageClient(Container $container) |
| 73 | 73 | { |
| 74 | - $container[static::CLIENT_PRODUCT_REVIEW_STORAGE] = function (Container $container) { |
|
| 74 | + $container[static::CLIENT_PRODUCT_REVIEW_STORAGE] = function(Container $container) { |
|
| 75 | 75 | return new ProductReviewWidgetToProductReviewStorageClientBridge($container->getLocator()->productReviewStorage()->client()); |
| 76 | 76 | }; |
| 77 | 77 | |