@@ -48,10 +48,10 @@ |
||
| 48 | 48 | |
| 49 | 49 | $media1 = new Media(); |
| 50 | 50 | $media1->setUrl('http://example.org/media1') |
| 51 | - ->setDescription('media1 desc'); |
|
| 51 | + ->setDescription('media1 desc'); |
|
| 52 | 52 | $media2 = new Media(); |
| 53 | 53 | $media2->setUrl('http://example.org/media2') |
| 54 | - ->setDescription('media2 desc'); |
|
| 54 | + ->setDescription('media2 desc'); |
|
| 55 | 55 | |
| 56 | 56 | $product = new Product(); |
| 57 | 57 | $product->setUrl('a2lix.fr') |
@@ -46,8 +46,8 @@ |
||
| 46 | 46 | ) |
| 47 | 47 | ->addTypeGuesser( |
| 48 | 48 | $this->getMockBuilder(ValidatorTypeGuesser::class) |
| 49 | - ->disableOriginalConstructor() |
|
| 50 | - ->getMock() |
|
| 49 | + ->disableOriginalConstructor() |
|
| 50 | + ->getMock() |
|
| 51 | 51 | ) |
| 52 | 52 | ->getFormFactory(); |
| 53 | 53 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | 'excluded_fields' => [], |
| 42 | 42 | ]); |
| 43 | 43 | |
| 44 | - $resolver->setNormalizer('data_class', function (Options $options, $value): string { |
|
| 44 | + $resolver->setNormalizer('data_class', function(Options $options, $value): string { |
|
| 45 | 45 | if (empty($value)) { |
| 46 | 46 | throw new \RuntimeException(sprintf('Missing "data_class" option of "AutoFormType".')); |
| 47 | 47 | } |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | ->defaultValue(['id', 'locale', 'translatable']) |
| 31 | 31 | ->beforeNormalization() |
| 32 | 32 | ->ifString() |
| 33 | - ->then(function ($v) { |
|
| 33 | + ->then(function($v) { |
|
| 34 | 34 | return preg_split('/\s*,\s*/', $v); |
| 35 | 35 | }) |
| 36 | 36 | ->end() |