mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
Use proper int|float union type instead of numeric (#10162)
This commit is contained in:
parent
f7a28c4145
commit
4cee2c0127
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user