File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ private function convertNumber(int|string $number): string
335335 /**
336336 * Converts a 6-digit group into Spanish words (thousands + hundreds).
337337 *
338- * @param string $group A 6-digit numeric string.
338+ * @param string $group A 6-digit numeric string.
339339 * @param bool $forceApocopeForOne If true, terminal "UNO" is forced to "UN".
340340 *
341341 * @return string
Original file line number Diff line number Diff line change 99$ number = $ argv [1 ] ?? '' ;
1010
1111if ($ number === '' ) {
12- echo 'Usage: php test-library.php <number> [decimals] [currency] [cents] ' . PHP_EOL ;
13- echo 'Example: php test-library.php 1234567890123.45 2 SOLES CENTIMOS ' . PHP_EOL ;
14- exit (1 );
12+ echo 'Usage: php test-library.php <number> [decimals] [currency] [cents] ' . PHP_EOL ;
13+ echo 'Example: php test-library.php 1234567890123.45 2 SOLES CENTIMOS ' . PHP_EOL ;
14+ exit (1 );
1515}
1616
1717$ numberValue = (float ) $ number ;
You can’t perform that action at this time.
0 commit comments