@@ -272,7 +272,7 @@ |
||
272 | 272 | { |
273 | 273 | $credentials = $this->config->getCredentials(); |
274 | 274 | |
275 | - $credential = array_filter($credentials, function ($username) use ($userTransfer) { |
|
275 | + $credential = array_filter($credentials, function($username) use ($userTransfer) { |
|
276 | 276 | return $username === $userTransfer->getUsername(); |
277 | 277 | }, ARRAY_FILTER_USE_KEY); |
278 | 278 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | $aclFacade = $this->getFacade(); |
39 | 39 | $config = $this->getFactory()->getConfig(); |
40 | 40 | |
41 | - $app->before(function (Request $request) use ($app, $aclFacade, $config) { |
|
41 | + $app->before(function(Request $request) use ($app, $aclFacade, $config) { |
|
42 | 42 | $bundle = $request->attributes->get('module'); |
43 | 43 | $controller = $request->attributes->get('controller'); |
44 | 44 | $action = $request->attributes->get('action'); |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $resolver->setRequired(self::OPTION_ROLE_CHOICES); |
61 | 61 | |
62 | 62 | $resolver->setDefaults([ |
63 | - 'validation_groups' => function (FormInterface $form) { |
|
63 | + 'validation_groups' => function(FormInterface $form) { |
|
64 | 64 | $defaultData = $form->getConfig()->getData(); |
65 | 65 | $submittedData = $form->getData(); |
66 | 66 | |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | new NotBlank(), |
114 | 114 | new Callback([ |
115 | 115 | 'methods' => [ |
116 | - function ($name, ExecutionContextInterface $contextInterface) { |
|
116 | + function($name, ExecutionContextInterface $contextInterface) { |
|
117 | 117 | if ($this->queryContainer->queryGroupByName($name)->count() > 0) { |
118 | 118 | $contextInterface->addViolation('Group name already in use'); |
119 | 119 | } |
@@ -80,7 +80,7 @@ |
||
80 | 80 | $builder->add(self::FIELD_BUNDLE, 'text', [ |
81 | 81 | 'label' => 'Bundle', |
82 | 82 | 'constraints' => [ |
83 | - new NotBlank(), |
|
83 | + new NotBlank(), |
|
84 | 84 | ], |
85 | 85 | ]); |
86 | 86 |
@@ -23,8 +23,8 @@ |
||
23 | 23 | |
24 | 24 | use _generated\AclCommunicationTesterActions; |
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\AclBusinessTesterActions; |
25 | 25 | |
26 | - /** |
|
27 | - * Define custom actions here |
|
28 | - */ |
|
26 | + /** |
|
27 | + * Define custom actions here |
|
28 | + */ |
|
29 | 29 | |
30 | 30 | } |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | */ |
42 | 42 | protected function addCollectorFacade(Container $container) |
43 | 43 | { |
44 | - $container[static::FACADE_COLLECTOR] = function (Container $container) { |
|
44 | + $container[static::FACADE_COLLECTOR] = function(Container $container) { |
|
45 | 45 | return new ProductGroupCollectorToCollectorBridge($container->getLocator()->collector()->facade()); |
46 | 46 | }; |
47 | 47 | } |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | */ |
54 | 54 | protected function addDataReaderService(Container $container) |
55 | 55 | { |
56 | - $container[static::SERVICE_DATA_READER] = function (Container $container) { |
|
56 | + $container[static::SERVICE_DATA_READER] = function(Container $container) { |
|
57 | 57 | return $container->getLocator()->utilDataReader()->service(); |
58 | 58 | }; |
59 | 59 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | protected function addTouchQueryContainer(Container $container) |
67 | 67 | { |
68 | - $container[static::QUERY_CONTAINER_TOUCH] = function (Container $container) { |
|
68 | + $container[static::QUERY_CONTAINER_TOUCH] = function(Container $container) { |
|
69 | 69 | return $container->getLocator()->touch()->queryContainer(); |
70 | 70 | }; |
71 | 71 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | */ |
47 | 47 | protected function provideSearchClient(Container $container) |
48 | 48 | { |
49 | - $container[static::CLIENT_SEARCH] = function (Container $container) { |
|
49 | + $container[static::CLIENT_SEARCH] = function(Container $container) { |
|
50 | 50 | return $container->getLocator()->search()->client(); |
51 | 51 | }; |
52 | 52 | } |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | protected function provideProductSetListResultFormatterPlugins(Container $container) |
60 | 60 | { |
61 | - $container[static::PLUGIN_PRODUCT_SET_LIST_RESULT_FORMATTERS] = function (Container $container) { |
|
61 | + $container[static::PLUGIN_PRODUCT_SET_LIST_RESULT_FORMATTERS] = function(Container $container) { |
|
62 | 62 | return $this->getProductSetListResultFormatterPlugins(); |
63 | 63 | }; |
64 | 64 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | protected function provideProductSetListQueryExpanderPlugins(Container $container) |
72 | 72 | { |
73 | - $container[static::PLUGIN_PRODUCT_SET_LIST_QUERY_EXPANDERS] = function (Container $container) { |
|
73 | + $container[static::PLUGIN_PRODUCT_SET_LIST_QUERY_EXPANDERS] = function(Container $container) { |
|
74 | 74 | return $this->getProductSetListQueryExpanderPlugins(); |
75 | 75 | }; |
76 | 76 | } |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | protected function provideStorageClient(Container $container) |
100 | 100 | { |
101 | - $container[static::CLIENT_STORAGE] = function (Container $container) { |
|
101 | + $container[static::CLIENT_STORAGE] = function(Container $container) { |
|
102 | 102 | return new ProductSetToStorageBridge($container->getLocator()->storage()->client()); |
103 | 103 | }; |
104 | 104 | } |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | */ |
111 | 111 | protected function provideLocaleClient(Container $container) |
112 | 112 | { |
113 | - $container[static::CLIENT_LOCALE] = function (Container $container) { |
|
113 | + $container[static::CLIENT_LOCALE] = function(Container $container) { |
|
114 | 114 | return new ProductSetToLocaleBridge($container->getLocator()->locale()->client()); |
115 | 115 | }; |
116 | 116 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | */ |
58 | 58 | public function createProductSet(ProductSetTransfer $productSetTransfer) |
59 | 59 | { |
60 | - return $this->handleDatabaseTransaction(function () use ($productSetTransfer) { |
|
60 | + return $this->handleDatabaseTransaction(function() use ($productSetTransfer) { |
|
61 | 61 | return $this->executeCreateProductSetTransaction($productSetTransfer); |
62 | 62 | }); |
63 | 63 | } |