:100644 100644 78e5768 0000000 M src/NumeroALetras.php :100644 100644 b3a724a 0000000 M test-library.php diff --git a/src/NumeroALetras.php b/src/NumeroALetras.php index 78e576825abb04626f564e67d4a49c1ba5ead1f6..717e671576b8857b9f1bd326516fb82e167ee7d5 100644 --- a/src/NumeroALetras.php +++ b/src/NumeroALetras.php @@ -335,7 +335,7 @@ class NumeroALetras /** * Converts a 6-digit group into Spanish words (thousands + hundreds). * - * @param string $group A 6-digit numeric string. + * @param string $group A 6-digit numeric string. * @param bool $forceApocopeForOne If true, terminal "UNO" is forced to "UN". * * @return string diff --git a/test-library.php b/test-library.php index b3a724a2b297bf96d4cf173d5cf7f8008d5c1a8e..ff1931f34998434f7dbde22a015b6063039f0ee7 100644 --- a/test-library.php +++ b/test-library.php @@ -9,9 +9,9 @@ use Luecano\NumeroALetras\NumeroALetras; $number = $argv[1] ?? ''; if ($number === '') { - echo 'Usage: php test-library.php [decimals] [currency] [cents]' . PHP_EOL; - echo 'Example: php test-library.php 1234567890123.45 2 SOLES CENTIMOS' . PHP_EOL; - exit(1); + echo 'Usage: php test-library.php [decimals] [currency] [cents]' . PHP_EOL; + echo 'Example: php test-library.php 1234567890123.45 2 SOLES CENTIMOS' . PHP_EOL; + exit(1); } $numberValue = (float) $number;