Skip to content

Commit

Permalink
Number::spell() - spell numbers as words
Browse files Browse the repository at this point in the history
 - Move translate function opening brace to new line
  • Loading branch information
tommarshall committed Oct 30, 2015
1 parent 10ec8b2 commit 62a57d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Coduo/PHPHumanizer/Number/NumberSpeller.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public function spell($number, $locale = 'en')
*
* @return string
*/
private function translate($key, $locale) {
private function translate($key, $locale)
{
return $this->translator->transChoice($key, 0, array(), 'number', $locale);
}
}

0 comments on commit 62a57d9

Please sign in to comment.