(cherry picked from commit aad39879f2) (cherry picked from commit 76f8a908bb)
aad39879f2
76f8a908bb
PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".