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
we get the following type-hints for the User model:
@property User $manager
however, when the related user record is (soft) deleted, we no longer get access to the data through the property thanks to the SoftDeleting scope Laravel provides.
The suggestion here is to add a new config value (to preserve BC) which generated these properties as nullable to reflect the fact that they may actually contain a null value.
The text was updated successfully, but these errors were encountered:
Given these tables
we get the following type-hints for the
User
model:however, when the related user record is (soft) deleted, we no longer get access to the data through the property thanks to the
SoftDeleting
scope Laravel provides.The suggestion here is to add a new config value (to preserve BC) which generated these properties as nullable to reflect the fact that they may actually contain a null value.
The text was updated successfully, but these errors were encountered: