@@ -43,7 +43,7 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | public function providePersistenceLayerDependencies(Container $container) |
| 45 | 45 | { |
| 46 | - $container[self::PRODUCT_QUERY_CONTAINER] = function (Container $container) { |
|
| 46 | + $container[self::PRODUCT_QUERY_CONTAINER] = function(Container $container) { |
|
| 47 | 47 | $productQueryContainer = $container->getLocator() |
| 48 | 48 | ->product() |
| 49 | 49 | ->queryContainer(); |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\ProductAbstractDataFeedPersistenceTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | public function register(Application $app) |
| 41 | 41 | { |
| 42 | 42 | $app['twig.global.variables'] = $app->share( |
| 43 | - $app->extend('twig.global.variables', function (array $variables) { |
|
| 43 | + $app->extend('twig.global.variables', function(array $variables) { |
|
| 44 | 44 | $variables['username'] = $this->getUsername(); |
| 45 | 45 | |
| 46 | 46 | return $variables; |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | $resolver->setRequired(self::OPTION_GROUP_CHOICES); |
| 65 | 65 | |
| 66 | 66 | $resolver->setDefaults([ |
| 67 | - 'validation_groups' => function (FormInterface $form) { |
|
| 67 | + 'validation_groups' => function(FormInterface $form) { |
|
| 68 | 68 | $defaultData = $form->getConfig()->getData(); |
| 69 | 69 | $submittedData = $form->getData(); |
| 70 | 70 | |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | { |
| 220 | 220 | return new Callback([ |
| 221 | 221 | 'methods' => [ |
| 222 | - function ($email, ExecutionContextInterface $contextInterface) { |
|
| 222 | + function($email, ExecutionContextInterface $contextInterface) { |
|
| 223 | 223 | if ($this->userFacade->hasUserByUsername($email)) { |
| 224 | 224 | $contextInterface->addViolation('User with email "{{ username }}" already exists.', [ |
| 225 | 225 | '{{ username }}' => $email, |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | protected function addSession(Container $container) |
| 54 | 54 | { |
| 55 | - $container[static::CLIENT_SESSION] = function (Container $container) { |
|
| 55 | + $container[static::CLIENT_SESSION] = function(Container $container) { |
|
| 56 | 56 | return $container->getLocator()->session()->client(); |
| 57 | 57 | }; |
| 58 | 58 | |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | */ |
| 67 | 67 | protected function addDateFormatter(Container $container) |
| 68 | 68 | { |
| 69 | - $container[static::SERVICE_DATE_FORMATTER] = function (Container $container) { |
|
| 69 | + $container[static::SERVICE_DATE_FORMATTER] = function(Container $container) { |
|
| 70 | 70 | return $container->getLocator()->utilDateTime()->service(); |
| 71 | 71 | }; |
| 72 | 72 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | protected function addGroupPlugin(Container $container) |
| 82 | 82 | { |
| 83 | - $container[static::PLUGIN_GROUP] = function (Container $container) { |
|
| 83 | + $container[static::PLUGIN_GROUP] = function(Container $container) { |
|
| 84 | 84 | return new GroupPlugin(); |
| 85 | 85 | }; |
| 86 | 86 | |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | protected function addUsersTableExtenderPlugins(Container $container) |
| 96 | 96 | { |
| 97 | - $container[static::PLUGINS_USERS_TABLE_EXTENDER] = function (Container $container) { |
|
| 97 | + $container[static::PLUGINS_USERS_TABLE_EXTENDER] = function(Container $container) { |
|
| 98 | 98 | return $this->getUsersTableExtenderPlugins(); |
| 99 | 99 | }; |
| 100 | 100 | |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\UserBusinessTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\UserCommunicationTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |
@@ -32,31 +32,31 @@ |
||
| 32 | 32 | { |
| 33 | 33 | $container = parent::provideServiceLayerDependencies($container); |
| 34 | 34 | |
| 35 | - $container[self::CLIENT_SEARCH] = function (Container $container) { |
|
| 35 | + $container[self::CLIENT_SEARCH] = function(Container $container) { |
|
| 36 | 36 | return $container->getLocator()->search()->client(); |
| 37 | 37 | }; |
| 38 | 38 | |
| 39 | - $container[self::CATALOG_SEARCH_QUERY_PLUGIN] = function () { |
|
| 39 | + $container[self::CATALOG_SEARCH_QUERY_PLUGIN] = function() { |
|
| 40 | 40 | return $this->createCatalogSearchQueryPlugin(); |
| 41 | 41 | }; |
| 42 | 42 | |
| 43 | - $container[self::CATALOG_SEARCH_QUERY_EXPANDER_PLUGINS] = function () { |
|
| 43 | + $container[self::CATALOG_SEARCH_QUERY_EXPANDER_PLUGINS] = function() { |
|
| 44 | 44 | return $this->createCatalogSearchQueryExpanderPlugins(); |
| 45 | 45 | }; |
| 46 | 46 | |
| 47 | - $container[self::CATALOG_SEARCH_RESULT_FORMATTER_PLUGINS] = function () { |
|
| 47 | + $container[self::CATALOG_SEARCH_RESULT_FORMATTER_PLUGINS] = function() { |
|
| 48 | 48 | return $this->createCatalogSearchResultFormatterPlugins(); |
| 49 | 49 | }; |
| 50 | 50 | |
| 51 | - $container[self::SUGGESTION_QUERY_PLUGIN] = function () { |
|
| 51 | + $container[self::SUGGESTION_QUERY_PLUGIN] = function() { |
|
| 52 | 52 | return $this->createSuggestionQueryPlugin(); |
| 53 | 53 | }; |
| 54 | 54 | |
| 55 | - $container[self::SUGGESTION_QUERY_EXPANDER_PLUGINS] = function () { |
|
| 55 | + $container[self::SUGGESTION_QUERY_EXPANDER_PLUGINS] = function() { |
|
| 56 | 56 | return $this->createSuggestionQueryExpanderPlugins(); |
| 57 | 57 | }; |
| 58 | 58 | |
| 59 | - $container[self::SUGGESTION_RESULT_FORMATTER_PLUGINS] = function () { |
|
| 59 | + $container[self::SUGGESTION_RESULT_FORMATTER_PLUGINS] = function() { |
|
| 60 | 60 | return $this->createSuggestionResultFormatterPlugins(); |
| 61 | 61 | }; |
| 62 | 62 | |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\LocaleBusinessTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |