Skip to content

Commit

Permalink
Add newline
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Jan 17, 2019
1 parent f75c060 commit 1d493ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MessageContainer.php
Expand Up @@ -37,6 +37,7 @@ public function getMessages()
public function setMessages(array $messages)
{
$this->clearMessages();

foreach ($messages as $message) {
$this->addMessage($message);
}
Expand All @@ -56,6 +57,7 @@ public function addMessage($message)
{
$args = func_get_args();
array_shift($args);

if (empty($args)) {
$this->messages[] = $message;
} else {
Expand Down

0 comments on commit 1d493ab

Please sign in to comment.