mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: fix typo
Co-authored-by: MGatner <mgatner@icloud.com>
This commit is contained in:
parent
ad7e9e1429
commit
b2abfbf75f
@ -127,7 +127,7 @@ if (! function_exists('format_number')) {
|
||||
*/
|
||||
function format_number(float $num, int $precision = 1, ?string $locale = null, array $options = []): string
|
||||
{
|
||||
// If locate is not passed, get from the default locale that is set from our config file
|
||||
// If locale is not passed, get from the default locale that is set from our config file
|
||||
// or set by HTTP content negotiation.
|
||||
$locale ??= Locale::getDefault();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user