@@ -95,7 +95,7 @@ |
||
95 | 95 | 'required' => false, |
96 | 96 | 'attr' => ['class' => 'selectpicker'], |
97 | 97 | 'choices' => User::AVAILABLE_THEMES, |
98 | - 'choice_label' => function ($entity, $key, $value) { |
|
98 | + 'choice_label' => function($entity, $key, $value) { |
|
99 | 99 | return $value; |
100 | 100 | }, |
101 | 101 | 'placeholder' => 'user_settings.theme.placeholder', |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | { |
43 | 43 | protected $security; |
44 | 44 | |
45 | - public function __construct( Security $security) |
|
45 | + public function __construct(Security $security) |
|
46 | 46 | { |
47 | 47 | $this->security = $security; |
48 | 48 | } |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | ]); |
78 | 78 | |
79 | 79 | //Add pricedetails after we know the data, so we can set the default currency |
80 | - $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) use ($options) { |
|
80 | + $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) use ($options) { |
|
81 | 81 | /** @var Orderdetail $orderdetail */ |
82 | 82 | $orderdetail = $event->getData(); |
83 | 83 |