Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Update docblocks for consistency #49092

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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