File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
11441144 zend_class_entry * arg_ce , void * * * cache_slot_ptr )
11451145{
11461146 void * * cache_slot = * cache_slot_ptr ;
1147- zend_class_entry * ce = NULL ;
1147+ zend_class_entry * ce ;
11481148 zend_type * list_type ;
11491149 bool status = true;
11501150 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
11621162 if (HAVE_CACHE_SLOT ) {
11631163 * cache_slot_ptr = cache_slot ;
11641164 }
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 );
11671167 }
11681168 return status ;
11691169}
You can’t perform that action at this time.
0 commit comments