@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | $this->flashRedirect($this->getModelManager()->getMessage('import.error'), $form->getURL(), 'error'); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - ImportForm::for($form)->withSource($fromForm)->handle(); |
|
| 76 | + ImportForm::for ($form)->withSource($fromForm)->handle(); |
|
| 77 | 77 | |
| 78 | 78 | $redirect = $form->getURL(); |
| 79 | 79 | $this->flashRedirect($this->getModelManager()->getMessage('import.success'), $redirect); |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | protected function bootFormbuilderFormsControllerTrait() |
| 91 | 91 | { |
| 92 | 92 | $this->after( |
| 93 | - function () { |
|
| 93 | + function() { |
|
| 94 | 94 | $this->registerFormbuilderViewPaths(); |
| 95 | 95 | } |
| 96 | 96 | ); |
@@ -73,7 +73,9 @@ |
||
| 73 | 73 | $this->flashRedirect($this->getModelManager()->getMessage('import.error'), $form->getURL(), 'error'); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - ImportForm::for($form)->withSource($fromForm)->handle(); |
|
| 76 | + ImportForm::for($form) { |
|
| 77 | + ->withSource($fromForm)->handle(); |
|
| 78 | + } |
|
| 77 | 79 | |
| 78 | 80 | $redirect = $form->getURL(); |
| 79 | 81 | $this->flashRedirect($this->getModelManager()->getMessage('import.success'), $redirect); |