Skip to content

Commit

Permalink
Merge pull request #9 from edgarsstrods/hotfix/variable-rename
Browse files Browse the repository at this point in the history
Fixing variable naming bug
  • Loading branch information
jurchiks authored Oct 22, 2019
2 parents 0cc2093 + 9bfe330 commit f66f1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Speller.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ protected abstract function getCurrencyName($type, $number, $currency);

private static function assertNumber($number)
{
if (!is_numeric($amount))
if (!is_numeric($number))
{
throw new InvalidArgumentException('Invalid number specified.');
}
Expand Down

0 comments on commit f66f1e2

Please sign in to comment.