@@ -34,7 +34,9 @@ |
||
| 34 | 34 | |
| 35 | 35 | protected function addDesignerImportLink($consumer) |
| 36 | 36 | { |
| 37 | - $sourceForm = FormGenerateForConsumer::for($consumer)->handle(); |
|
| 37 | + $sourceForm = FormGenerateForConsumer::for($consumer) { |
|
| 38 | + ->handle(); |
|
| 39 | + } |
|
| 38 | 40 | $this->getSubject()->addImportLink([ |
| 39 | 41 | 'name' => $consumer->getName(), |
| 40 | 42 | 'href' => $this->generateImportLink($this->form, $sourceForm), |
@@ -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 | $this->flashRedirect($this->getModelManager()->getMessage('import.success'), $redirect); |
| 79 | 81 | } |