1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Zend: mark zend_perform_covariant_type_check() as static

This function is not defined in any headers
This commit is contained in:
Gina Peter Banyard
2026-03-09 16:09:32 +00:00
parent 6880a6c49d
commit 2b20627cbc

View File

@@ -671,7 +671,7 @@ static inheritance_status zend_is_intersection_subtype_of_type(
return early_exit_status == INHERITANCE_ERROR ? INHERITANCE_SUCCESS : INHERITANCE_ERROR;
}
ZEND_API inheritance_status zend_perform_covariant_type_check(
static inheritance_status zend_perform_covariant_type_check(
zend_class_entry *fe_scope, const zend_type fe_type,
zend_class_entry *proto_scope, const zend_type proto_type)
{