diff --git a/src/PhpImap/Mailbox.php b/src/PhpImap/Mailbox.php index 1a5f4bfe..c7f79aa7 100644 --- a/src/PhpImap/Mailbox.php +++ b/src/PhpImap/Mailbox.php @@ -380,7 +380,7 @@ public function getLogin(): string * * @throws InvalidParameterException */ - public function setConnectionArgs(int $options = 0, int $retriesNum = 0, array ?$params = null): void + public function setConnectionArgs(int $options = 0, int $retriesNum = 0, ?array $params = null): void { if (0 !== $options) { if (($options & self::IMAP_OPTIONS_SUPPORTED_VALUES) !== $options) {