Closed tomato-net closed 6 years ago
Assertion::integerish([]) fails due to Array to String conversion and therefore does not throw the expected exception.
Assertion::integerish([])
The change from \strval(\intval($value)) != \strval($value) to \strval(\intval($value)) !== \strval($value) in 2.7.7 seems to be causing this issue.
\strval(\intval($value)) != \strval($value)
\strval(\intval($value)) !== \strval($value)
Thank you for reporting this.
A fix is in the works and should be released shortly.
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.