Skip to content

Commit

Permalink
Merge pull request #389 from Jibbarth/patch-1
Browse files Browse the repository at this point in the history
Fix correct signature of implode
  • Loading branch information
KrisFlorq authored Aug 12, 2021
2 parents 8473b5d + b9deb3e commit 50681a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Helper/FormErrorsFlashHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function addFlashErrors(FormInterface $form): void
$errors[] = $error->getMessage();
}

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

$this->flashBag->set('error', $message);
}
Expand Down

0 comments on commit 50681a4

Please sign in to comment.