mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Remove redundant condition
Never refactor code just before pushing
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user