Closed codesman closed 8 years ago
I don't generate any routes with herbert. I noticed that my nginx error log was getting flooded with errors about foreach not having a valid argument in this method. So I added a check for an array before trying to iterate it. No more log spam.
@onnimonni this should get merged.
LGTM
Thanks for the contribution :)
I don't generate any routes with herbert. I noticed that my nginx error log was getting flooded with errors about foreach not having a valid argument in this method. So I added a check for an array before trying to iterate it. No more log spam.