@@ -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 | } |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | public function configureOptions(OptionsResolver $resolver) |
| 38 | 38 | { |
| 39 | 39 | $resolver->setDefaults([ |
| 40 | - 'choices' => function (Options $options) { |
|
| 40 | + 'choices' => function(Options $options) { |
|
| 41 | 41 | return $this->brandRepository->findAll(); |
| 42 | 42 | }, |
| 43 | 43 | 'choice_value' => 'slug', |