Support the ongoing development of Laravel.io →
posted 1 year ago
Middleware
Last updated 1 year ago.
3
moderator Solution

It did take some time to find it, but you have a ; on the end of line 21. That will end the if part.

I created a small test on 3v4l.org: https://3v4l.org/ieuIW

2

OMG ;-) i need a vacation. THX

0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

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.

© 2023 Laravel.io - All rights reserved.