summaryrefslogtreecommitdiff
path: root/ext/intl/formatter/formatter.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/formatter/formatter.stub.php')
-rw-r--r--ext/intl/formatter/formatter.stub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/formatter/formatter.stub.php b/ext/intl/formatter/formatter.stub.php
index 045b0640ce..19e6148b8a 100644
--- a/ext/intl/formatter/formatter.stub.php
+++ b/ext/intl/formatter/formatter.stub.php
@@ -4,13 +4,13 @@
class NumberFormatter
{
- public function __construct(string $locale, int $style, string $pattern = "") {}
+ public function __construct(string $locale, int $style, ?string $pattern = null) {}
/**
* @return NumberFormatter|null
* @alias numfmt_create
*/
- public static function create(string $locale, int $style, string $pattern = "") {}
+ public static function create(string $locale, int $style, ?string $pattern = null) {}
/**
* @return string|false