Support the ongoing development of Laravel.io →
posted 1 year ago
Last updated by @tvbeek 1 year ago.
2

Can anyone give me a solution?

1
moderator

Hello @yohannanv

Can you tell the line where you get the error?

And what are the types in your function? And in the code I see $cipCodes used but it isn't yet declared, is that a copy/paste mistake or something else?

Ps. I have updated your post to place the code in a codeblock.

1

Error does not seem to be related with the code given.

0

I am just posting so I can keep track of this thread.

1

Sign in to participate in this thread!

Native PHP

Your banner here too?

Yoh yohannanv Joined 13 Oct 2018

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.

© 2025 Laravel.io - All rights reserved.