Model docblock generation creates stuff like this:
* @method static bool|null forceDelete()
But most of these methods, as documented on Laravel website, are not invoked statically. Actually doing something like $user::forceDelete() results in Exception:
Non-static method App\Models\User::forceDelete() should not be called statically
So I wonder why those methods were docBloc'ed as static?
I noticed #550 tried to fix this, but it hasn't been merged and is 2 yrs old. @barryvdh is IDE-Helper maintained?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.
Most helpful comment
I noticed #550 tried to fix this, but it hasn't been merged and is 2 yrs old. @barryvdh is IDE-Helper maintained?