Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 1 year ago.
0

It's probably this line of code:

Carbon\Carbon()::tomorrow()->toDateString()

It should be:

Carbon\Carbon::tomorrow()->toDateString()
0

also if you really split this into three new lines.. then the error would have showed on line 3 somewhat narrowing the problem area

0

Sign in to participate in this thread!

Eventy

Your banner here too?

EngBadr engbadr Joined 25 Sep 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.