Skip to content

Commit fccea01

Browse files
committed
fix: remove incorrect param type in number_to_roman()
1 parent af377af commit fccea01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Helpers/number_helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ function format_number(float $num, int $precision = 1, ?string $locale = null, a
173173
/**
174174
* Convert a number to a roman numeral.
175175
*
176-
* @param string $num it will convert to int
176+
* @param int|string $num it will convert to int
177177
*/
178-
function number_to_roman(string $num): ?string
178+
function number_to_roman($num): ?string
179179
{
180180
static $map = [
181181
'M' => 1000,

0 commit comments

Comments
 (0)