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

Integerish failing on array #235

Closed
tomato-net opened this issue Oct 20, 2017 · 1 comment
Closed

Integerish failing on array #235

tomato-net opened this issue Oct 20, 2017 · 1 comment

Comments

@tomato-net
Copy link

tomato-net commented Oct 20, 2017

Assertion::integerish([]) fails due to Array to String conversion and therefore does not throw the expected exception.

The change from \strval(\intval($value)) != \strval($value) to \strval(\intval($value)) !== \strval($value) in 2.7.7 seems to be causing this issue.

@rquadling
Copy link
Contributor

Thank you for reporting this.

A fix is in the works and should be released shortly.

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