Skip to content

Commit

Permalink
[FIX: TermiiMessage] Trimmed off new lines from final message content…
Browse files Browse the repository at this point in the history
… so the test can be passed
  • Loading branch information
Mane-Olawale committed Jun 11, 2021
1 parent e842174 commit 62294d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Messages/TermiiMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function getContent() : string
{
$lines = (($this->content)? "\n" : "").implode( "\n",$this->lines);

return $this->content.$lines;
return trim($this->content.$lines);
}

}

0 comments on commit 62294d4

Please sign in to comment.