Skip to content

Commit 4cee2c0

Browse files
authored
Use proper int|float union type instead of numeric (#10162)
1 parent f7a28c4 commit 4cee2c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_API.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ ZEND_API const char *zend_get_type_by_const(int type) /* {{{ */
136136
case IS_MIXED:
137137
return "mixed";
138138
case _IS_NUMBER:
139-
return "number";
139+
return "int|float";
140140
EMPTY_SWITCH_DEFAULT_CASE()
141141
}
142142
}

0 commit comments

Comments
 (0)