summaryrefslogtreecommitdiff
path: root/ext/intl/formatter/formatter_arginfo.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-09 14:18:18 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-09 14:36:41 +0100
commitf5768eaa2e7d75cafbe80054c657fcf61b9394e6 (patch)
treeb70c974c030b471fab5bc3f3b5a2c1c998c27d3b /ext/intl/formatter/formatter_arginfo.h
parent186f9bab45bb5677a223400e803fa2bae2f79719 (diff)
downloadphp-git-f5768eaa2e7d75cafbe80054c657fcf61b9394e6.tar.gz
Make NumberFormatter ctor $pattern nullable
Whether the pattern is needed depends on the used style. If no pattern is needed, null is a more sensible value than an empty string. fixup
Diffstat (limited to 'ext/intl/formatter/formatter_arginfo.h')
-rw-r--r--ext/intl/formatter/formatter_arginfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/formatter/formatter_arginfo.h b/ext/intl/formatter/formatter_arginfo.h
index 79f977fb81..a621605977 100644
--- a/ext/intl/formatter/formatter_arginfo.h
+++ b/ext/intl/formatter/formatter_arginfo.h
@@ -1,10 +1,10 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 0f285bbaa6f4f37060eb8325956f41bd86e9dea3 */
+ * Stub hash: de7625297bcdb8c7e4944a319c019ed68508ea2c */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_NumberFormatter___construct, 0, 0, 2)
ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, style, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 0, "\"\"")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()
#define arginfo_class_NumberFormatter_create arginfo_class_NumberFormatter___construct