Laravel supports query scopes, but the PS has difficulties to identify that (eg.) the scopeSomeMethod() is called from someMethod(), and marks that as an undefined method on class.
What is expected:
[x] Identify that scopeSomeMethod is a reference for someMethod;
[x] Make sure to exclude the first parameter;
[x] Add support to find declaration fo method (to scopeMethod);
Laravel supports query scopes, but the PS has difficulties to identify that (eg.) the
scopeSomeMethod()
is called fromsomeMethod()
, and marks that as an undefined method on class.What is expected:
scopeSomeMethod
is a reference forsomeMethod
;method
(toscopeMethod
);