@@ -74,7 +74,7 @@ |
||
| 74 | 74 | { |
| 75 | 75 | $resolver->setRequired(['template'])->shouldBeCalled(); |
| 76 | 76 | $resolver->setAllowedTypes([ |
| 77 | - 'template' => [ 'string' ] |
|
| 77 | + 'template' => ['string'] |
|
| 78 | 78 | ])->shouldBeCalled(); |
| 79 | 79 | $this->configureOptions($resolver); |
| 80 | 80 | } |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | $field->getType()->willReturn('string'); |
| 84 | 84 | $fieldsRegistry->get('string')->willReturn($fieldType); |
| 85 | 85 | $fieldType->configureOptions(Argument::type(OptionsResolver::class)) |
| 86 | - ->will(function ($args) { |
|
| 86 | + ->will(function($args) { |
|
| 87 | 87 | $args[0]->setRequired('foo'); |
| 88 | 88 | }) |
| 89 | 89 | ; |