@@ -48,7 +48,7 @@ |
||
48 | 48 | { |
49 | 49 | $builder->addEventListener( |
50 | 50 | FormEvents::PRE_SET_DATA, |
51 | - function (FormEvent $event) { |
|
51 | + function(FormEvent $event) { |
|
52 | 52 | // Adding dynamically created code field |
53 | 53 | $nameOptions = array( |
54 | 54 | 'label' => 'sylius.form.locale.name', |
@@ -47,8 +47,8 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * {@inheritdoc} |
|
51 | - */ |
|
50 | + * {@inheritdoc} |
|
51 | + */ |
|
52 | 52 | public function getName() |
53 | 53 | { |
54 | 54 | return 'sylius_data_fetcher_sales_total'; |
@@ -45,7 +45,7 @@ |
||
45 | 45 | 'label' => 'sylius.form.action.customer_group', |
46 | 46 | 'property' => 'name', |
47 | 47 | 'class' => $this->groupRepository->getClassName(), |
48 | - 'query_builder' => function () { |
|
48 | + 'query_builder' => function() { |
|
49 | 49 | return $this->groupRepository->getFormQueryBuilder(); |
50 | 50 | }, |
51 | 51 | 'constraints' => array( |
@@ -54,7 +54,7 @@ |
||
54 | 54 | */ |
55 | 55 | public function configureOptions(OptionsResolver $resolver) |
56 | 56 | { |
57 | - $choiceList = function (Options $options) { |
|
57 | + $choiceList = function(Options $options) { |
|
58 | 58 | if (null === $options['enabled']) { |
59 | 59 | $choices = $this->localeRepository->findAll(); |
60 | 60 | } else { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | $templates[$template->getLogicalName()] = $this->locator->locate($template); |
58 | 58 | } |
59 | 59 | |
60 | - $this->writeCacheFile($cacheDir . '/templates.php', sprintf('<?php return %s;', var_export($templates, true))); |
|
60 | + $this->writeCacheFile($cacheDir.'/templates.php', sprintf('<?php return %s;', var_export($templates, true))); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |