Get() returns a collection. Try first() instead.
That worked, thanks.
It would be nice to know which methods can and can't be used. The docs aren't very clear on that.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community