Remove redundant condition

Never refactor code just before pushing
This commit is contained in:
Ilija Tovilo 2023-08-17 18:54:30 +02:00
parent f78d1d0d10
commit dd01c74a6f
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A

View File

@ -1473,7 +1473,7 @@ static bool array_is_const_ex(zend_array *array, uint32_t *max_checks)
if (!array_is_const_ex(array, max_checks)) {
return false;
}
} else if (UNEXPECTED(Z_TYPE_P(element) >=IS_OBJECT)) {
} else {
return false;
}
} ZEND_HASH_FOREACH_END();