|
@@ -33,7 +33,7 @@ |
|
|
block discarded – undo |
|
33
|
33
|
$formTypeRegistry = $container->getDefinition('sylius.form_registry.grid_filter'); |
|
34
|
34
|
|
|
35
|
35
|
foreach ($container->findTaggedServiceIds('sylius.grid_filter') as $id => $attributes) { |
|
36
|
|
- if (!isset($attributes[0]['type'], $attributes[0]['form-type'])) { |
|
|
36
|
+ if (!isset($attributes[0]['type'], $attributes[0]['form-type'])) { |
|
37
|
37
|
throw new \InvalidArgumentException('Tagged grid filters needs to have `type` and `form-type` attribute.'); |
|
38
|
38
|
} |
|
39
|
39
|
|
Please login to merge, or discard this patch.