@@ -36,7 +36,7 @@ |
||
36 | 36 | public static function forForm(Form $form, $fieldsCollection = null): static |
37 | 37 | { |
38 | 38 | $action = new static($form, $fieldsCollection); |
39 | - $action->setConsumer(GetConsumerForForm::for($form)->handle()); |
|
39 | + $action->setConsumer(GetConsumerForForm::for ($form)->handle()); |
|
40 | 40 | |
41 | 41 | return $action; |
42 | 42 | } |
@@ -36,7 +36,9 @@ |
||
36 | 36 | public static function forForm(Form $form, $fieldsCollection = null): static |
37 | 37 | { |
38 | 38 | $action = new static($form, $fieldsCollection); |
39 | - $action->setConsumer(GetConsumerForForm::for($form)->handle()); |
|
39 | + $action->setConsumer(GetConsumerForForm::for($form) { |
|
40 | + ->handle()); |
|
41 | + } |
|
40 | 42 | |
41 | 43 | return $action; |
42 | 44 | } |