Add phpstan template tags to InteractsWithMedia and HasMedia #3746
Unanswered
cosmastech
asked this question in
Q&A
Replies: 1 comment
-
Thanks to @sforward I believe this is resolved. 🙇 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Our project extends the package Media model. We also "extended" the
InteractsWithMedia
trait.Trying to get phpstan to work with the library code would be a lot easier if there were templates added to the interface and trait.
HasMedia
InteractsWithMedia
Happy to implement these in a PR, but wasn't sure if that had either been suggested before (and was not implemented for a reason) or if there's anything I'm missing.
Beta Was this translation helpful? Give feedback.
All reactions