Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Sep 8, 2023
1 parent e2c8871 commit 960646a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function addNotification($message, array $options = [
];

if (!in_array($options['status'], $status_options)) {
throw new UserAbortException(new TranslatableMarkup('Invalid status. Please use one of the options: @options', ['@options' => implode(', ', $status_options)]));
throw new UserAbortException((string) new TranslatableMarkup('Invalid status. Please use one of the options: @options', ['@options' => implode(', ', $status_options)]));
}
$roles = explode(',', $options['roles']);
array_walk($roles, 'trim');
Expand Down

0 comments on commit 960646a

Please sign in to comment.