Skip to content

Commit

Permalink
Fixing variable naming bug
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarsstrods committed Oct 22, 2019
1 parent 0cc2093 commit 9bfe330
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 9bfe330

Please sign in to comment.