Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing existence check before dereferencing an array. #32

Closed
f-hluchnik opened this issue Jun 21, 2021 · 1 comment
Closed

Missing existence check before dereferencing an array. #32

f-hluchnik opened this issue Jun 21, 2021 · 1 comment

Comments

@f-hluchnik
Copy link

image
If $this->list is empty, an error will rise when checking if $list[0] is string.

@loilo
Copy link
Owner

loilo commented Jun 21, 2021

Good catch, thanks. :)
Fixed and published as v4.0.2.

@loilo loilo closed this as completed Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants