You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Make sure a trait does not try to extend a class */
5016
-
if ((new_class_entry->ce_flags&ZEND_ACC_TRAIT) ==ZEND_ACC_TRAIT) {
5017
-
zend_error(E_COMPILE_ERROR, "A trait (%s) cannot extend a class. Traits can only be composed from other traits with the 'use' keyword. Error", new_class_entry->name);
5018
-
}
5019
-
5015
+
/* Make sure a trait does not try to extend a class */
5016
+
if ((new_class_entry->ce_flags&ZEND_ACC_TRAIT) ==ZEND_ACC_TRAIT) {
5017
+
zend_error(E_COMPILE_ERROR, "A trait (%s) cannot extend a class. Traits can only be composed from other traits with the 'use' keyword. Error", new_class_entry->name);
0 commit comments