diff --git a/src/Storage/Imap.php b/src/Storage/Imap.php index d5b90dd5..eea1280f 100644 --- a/src/Storage/Imap.php +++ b/src/Storage/Imap.php @@ -8,6 +8,7 @@ namespace Laminas\Mail\Storage; +use Laminas\Config\Config; use Laminas\Mail; use Laminas\Mail\Protocol; @@ -180,7 +181,7 @@ public function getRawContent($id, $part = null) * - ssl 'SSL' or 'TLS' for secure sockets * - folder select this folder [optional, default = 'INBOX'] * - * @param array|Protocol\Imap $params mail reader specific parameters or configured Imap protocol object + * @param array|object|Config|Protocol\Imap $params mail reader specific parameters or configured Imap protocol object * @throws Exception\RuntimeException * @throws Exception\InvalidArgumentException * @throws Protocol\Exception\RuntimeException diff --git a/src/Storage/Pop3.php b/src/Storage/Pop3.php index ac1dbff6..b8f49bec 100644 --- a/src/Storage/Pop3.php +++ b/src/Storage/Pop3.php @@ -8,6 +8,7 @@ namespace Laminas\Mail\Storage; +use Laminas\Config\Config; use Laminas\Mail\Exception as MailException; use Laminas\Mail\Protocol; use Laminas\Mime; @@ -121,7 +122,7 @@ public function getRawContent($id, $part = null) * - port port for POP3 server [optional, default = 110] * - ssl 'SSL' or 'TLS' for secure sockets * - * @param array|Protocol\Pop3 $params mail reader specific parameters or configured Pop3 protocol object + * @param array|object|Config|Protocol\Pop3 $params mail reader specific parameters or configured Pop3 protocol object * @throws \Laminas\Mail\Storage\Exception\InvalidArgumentException * @throws \Laminas\Mail\Protocol\Exception\RuntimeException */