@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $value |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setValue($value); |
32 | 33 | } |
@@ -33,7 +33,7 @@ |
||
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 |
@@ -33,7 +33,7 @@ |
||
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 |