Skip to content

Commit

Permalink
Update Text.php
Browse files Browse the repository at this point in the history
fix issue  fzaninotto#1024
  • Loading branch information
gulaandrij authored Sep 8, 2016
1 parent 3e55d05 commit 7dcd4b9
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 7dcd4b9

Please sign in to comment.