Use proper int|float union type instead of numeric (#10162)

This commit is contained in:
George Peter Banyard 2022-12-28 13:35:19 +00:00 committed by GitHub
parent f7a28c4145
commit 4cee2c0127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ ZEND_API const char *zend_get_type_by_const(int type) /* {{{ */
case IS_MIXED: case IS_MIXED:
return "mixed"; return "mixed";
case _IS_NUMBER: case _IS_NUMBER:
return "number"; return "int|float";
EMPTY_SWITCH_DEFAULT_CASE() EMPTY_SWITCH_DEFAULT_CASE()
} }
} }