Is there a reason why the \Laravel\Nova\HasLifecycleMethods trait is not a generic?
#6426
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The only place where this trait is used at the moment is in the
\Laravel\Nova\Resourceclass, which is a generic.I think it is safe to update this trait to a generic. Both Psalm and PHPStan uses the same annotation for it.
Beta Was this translation helpful? Give feedback.
All reactions