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
The ClassRef type is used to return a reference to self in class methods. It is inherently unsafe because it relies on the user returning self where self has been allocated on the heap, and it must be followed by a ZendObject.
This should be removed in favour of functions taking a ZendClassObject<Self> when they want to return self.
The text was updated successfully, but these errors were encountered:
The
ClassRef
type is used to return a reference toself
in class methods. It is inherently unsafe because it relies on the user returningself
whereself
has been allocated on the heap, and it must be followed by aZendObject
.This should be removed in favour of functions taking a
ZendClassObject<Self>
when they want to returnself
.The text was updated successfully, but these errors were encountered: