Skip to content

Commit b9deb3e

Browse files
authored
Fix correct signature of implode
1 parent 8473b5d commit b9deb3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controller/Helper/FormErrorsFlashHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function addFlashErrors(FormInterface $form): void
4242
$errors[] = $error->getMessage();
4343
}
4444

45-
$message = $this->translator->trans('bitbag_sylius_cms_plugin.ui.form_was_submitted_with_errors') . ' ' . rtrim(implode($errors, ' '));
45+
$message = $this->translator->trans('bitbag_sylius_cms_plugin.ui.form_was_submitted_with_errors') . ' ' . rtrim(implode(' ', $errors));
4646

4747
$this->flashBag->set('error', $message);
4848
}

0 commit comments

Comments
 (0)