Spoofchecker::setChecks generates a confusing error #9254
Labels
bug
easy problems
Issues that can be fixed without background knowledge of Psalm
internal stubs/callmap
https://psalm.dev/r/87ed292445
This code snippet shows an error saying
Argument 1 of Spoofchecker::setChecks expects long, but int provided
. However, the method accepts an int as parameter according to https://www.php.net/manual/en/spoofchecker.setchecks.php and https://github.com/php/php-src/blob/0f706745b770e312bb44205c7cd89fa372d7d562/ext/intl/spoofchecker/spoofchecker.stub.php#L94The text was updated successfully, but these errors were encountered: