@@ -52,7 +52,7 @@ |
||
| 52 | 52 | $itemForm->addFieldsToForm($form); |
| 53 | 53 | $form->addSubmit('save', 'Save'); |
| 54 | 54 | $form->onSuccess[] = [$itemForm, 'submit']; |
| 55 | - $form->onSuccess[] = function () { |
|
| 55 | + $form->onSuccess[] = function() { |
|
| 56 | 56 | $this->item |
| 57 | 57 | ? $this->presenter->flashMessage('Item was successfully updated', 'success') |
| 58 | 58 | : $this->presenter->flashMessage('Item was successfully created', 'success'); |