safe
safe copied to clipboard
imap_open(): Argument #6 ($options) must be of type array, null given
The implementation for imap_open is incorrect. The generated function has the parameter ?array $params = null which is incorrect because the $params parameter is only allowed to be array. The documentation is saying too that the default for the parameter is an empty array.