I think you might have a namespace issue. I mean you might refer wrong User model, not this one, or just simply forgot to do use app\User; in your code.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.