You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Laravel query scopes are preferable over where() and similar methods. Then when we find methods like that outside a scope method, suggests to transform it to a scope method.
Laravel query scopes are preferable over
where()
and similar methods. Then when we find methods like that outside a scope method, suggests to transform it to a scope method.In this case,
where('age', ...)
should be transformed to a scope method: (eg. User.php)Then:
The text was updated successfully, but these errors were encountered: