plugin
plugin copied to clipboard
[Bug]: withMax not recognized with Helper Code
Bug description
So i have for example a withMax that "generates" this field: logs_max_created_at. PhpStorm will say "Property accessed via magic method"'
User::withCount(['logs as total_calls'])
->withMax('logs', 'created_at');
Plugin version
12.21.0
Operating system
None
Steps to reproduce
No response
Relevant log output
Thank you for taking the time to share your request! I've added it into internal feature tracker.
Thanks a lot. While at it, withCount and other methods like this might have the same problem
Unable to reproduce in current version, also there is no 12.21.0 plugin version. Maybe you are using other plugin?