Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Issue in code - incorrectly tried to iterate array as array++ #3

Open
C4Plastique opened this issue Jun 6, 2023 · 0 comments
Open

Comments

@C4Plastique
Copy link

Hello there,

I just perhaps found small issue in your code.

in randomNameGenerator.php file there is attempt on line 42 to iterate "count++" as standard variable (int), but the variable is currently an array. Also it is used in foreach loop so.
Possibly this issue could be caused during cleanup as previously simple "for" loop was used?

However removing the line 42 "count++" resolved the issue.
PHP 7.4.33 used with WAMP VM.

Btw thanks a lot for this helpful tool! :)

Regards,
C4P

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant