File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1144,7 +1144,7 @@ static bool zend_check_intersection_type_from_cache_slot(zend_type *original_typ
1144
1144
zend_class_entry * arg_ce , void * * * cache_slot_ptr )
1145
1145
{
1146
1146
void * * cache_slot = * cache_slot_ptr ;
1147
- zend_class_entry * ce = NULL ;
1147
+ zend_class_entry * ce ;
1148
1148
zend_type * list_type ;
1149
1149
bool status = true;
1150
1150
ZEND_TYPE_LIST_FOREACH (intersection_type_list , list_type ) {
@@ -1162,8 +1162,8 @@ static bool zend_check_intersection_type_from_cache_slot(zend_type *original_typ
1162
1162
if (HAVE_CACHE_SLOT ) {
1163
1163
* cache_slot_ptr = cache_slot ;
1164
1164
}
1165
- if (status && ce ) {
1166
- zend_type_satisfied_by_class (original_type , ce );
1165
+ if (status ) {
1166
+ zend_type_satisfied_by_class (original_type , arg_ce );
1167
1167
}
1168
1168
return status ;
1169
1169
}
You can’t perform that action at this time.
0 commit comments