Skip to content

Commit 60b76e8

Browse files
authored
Update number_helper.php
Optional nullable parameter in PHPDoc
1 parent e25fe3d commit 60b76e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system/Helpers/number_helper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ function number_to_size($num, int $precision = 1, ?string $locale = null)
6969
*
7070
* @see https://simple.wikipedia.org/wiki/Names_for_large_numbers
7171
*
72-
* @param int|string $num Will be cast as int
73-
* @param int $precision [optional] The optional number of decimal digits to round to.
74-
* @param string $locale [optional]
72+
* @param int|string $num Will be cast as int
73+
* @param int $precision [optional] The optional number of decimal digits to round to.
74+
* @param string|null $locale [optional]
7575
*
7676
* @return bool|string
7777
*/

0 commit comments

Comments
 (0)