Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1025 from gulaandrij/patch-2
Browse files Browse the repository at this point in the history
Update Text.php
  • Loading branch information
fzaninotto authored Sep 9, 2016
2 parents 3e55d05 + 8454cea commit 5ec9225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/Provider/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ protected static function validStart($word)

protected static function appendEnd($text)
{
return $text.'.';
return rtrim($text, ',').'.';
}
}

0 comments on commit 5ec9225

Please sign in to comment.