@@ -115,7 +115,7 @@ |
||
| 115 | 115 | */ |
| 116 | 116 | public function getImagesByType(string $type): Collection |
| 117 | 117 | { |
| 118 | - return $this->images->filter(function (ImageInterface $image) use ($type) { |
|
| 118 | + return $this->images->filter(function(ImageInterface $image) use ($type) { |
|
| 119 | 119 | return $type === $image->getType(); |
| 120 | 120 | }); |
| 121 | 121 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | public function configureOptions(OptionsResolver $resolver): void |
| 46 | 46 | { |
| 47 | 47 | $resolver->setDefaults([ |
| 48 | - 'choices' => function (Options $options) { |
|
| 48 | + 'choices' => function(Options $options) { |
|
| 49 | 49 | return $this->brandRepository->findAll(); |
| 50 | 50 | }, |
| 51 | 51 | 'choice_value' => 'code', |