mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Fix typo [ci skip]
This commit is contained in:
commit
94cacba1ee
1 changed files with 1 additions and 1 deletions
|
@ -2900,7 +2900,7 @@ ZEND_API zend_class_entry *zend_do_link_class(zend_class_entry *ce, zend_string
|
|||
zend_verify_enum(ce);
|
||||
}
|
||||
|
||||
/* Normally Stringable is added during compilation. However, if it is important from a trait,
|
||||
/* Normally Stringable is added during compilation. However, if it is imported from a trait,
|
||||
* we need to explicilty add the interface here. */
|
||||
if (ce->__tostring && !zend_class_implements_interface(ce, zend_ce_stringable)) {
|
||||
ZEND_ASSERT(ce->__tostring->common.fn_flags & ZEND_ACC_TRAIT_CLONE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue