It's probably this line of code:
Carbon\Carbon()::tomorrow()->toDateString()
It should be:
Carbon\Carbon::tomorrow()->toDateString()
also if you really split this into three new lines.. then the error would have showed on line 3 somewhat narrowing the problem area
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community