Skip to content

Commit

Permalink
Update docblocks for consistency (#49092)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightwatson authored Nov 22, 2023
1 parent 86a5976 commit 60f753f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Illuminate/Support/Number.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Number
* @param int|float $number
* @param int|null $precision
* @param int|null $maxPrecision
* @param ?string $locale
* @param string|null $locale
* @return string|false
*/
public static function format(int|float $number, ?int $precision = null, ?int $maxPrecision = null, ?string $locale = null)
Expand All @@ -45,7 +45,7 @@ public static function format(int|float $number, ?int $precision = null, ?int $m
* Spell out the given number in the given locale.
*
* @param int|float $number
* @param ?string $locale
* @param string|null $locale
* @return string
*/
public static function spell(int|float $number, ?string $locale = null)
Expand All @@ -61,7 +61,7 @@ public static function spell(int|float $number, ?string $locale = null)
* Convert the given number to ordinal form.
*
* @param int|float $number
* @param ?string $locale
* @param string|null $locale
* @return string
*/
public static function ordinal(int|float $number, ?string $locale = null)
Expand All @@ -79,7 +79,7 @@ public static function ordinal(int|float $number, ?string $locale = null)
* @param int|float $number
* @param int $precision
* @param int|null $maxPrecision
* @param ?string $locale
* @param string|null $locale
* @return string|false
*/
public static function percentage(int|float $number, int $precision = 0, ?int $maxPrecision = null, ?string $locale = null)
Expand All @@ -102,7 +102,7 @@ public static function percentage(int|float $number, int $precision = 0, ?int $m
*
* @param int|float $number
* @param string $in
* @param ?string $locale
* @param string|null $locale
* @return string|false
*/
public static function currency(int|float $number, string $in = 'USD', ?string $locale = null)
Expand Down

0 comments on commit 60f753f

Please sign in to comment.