Skip to content

Commit ea3f1bb

Browse files
committed
Merge pull request #145 from tedious/supress_php_warning
Suppressed imap_open warning
2 parents 3448bff + f86c17e commit ea3f1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fetch/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ protected function setImapStream()
310310
if (!imap_reopen($this->imapStream, $this->getServerString(), $this->options, 1))
311311
throw new \RuntimeException(imap_last_error());
312312
} else {
313-
$imapStream = imap_open($this->getServerString(), $this->username, $this->password, $this->options, 1, $this->params);
313+
$imapStream = @imap_open($this->getServerString(), $this->username, $this->password, $this->options, 1, $this->params);
314314

315315
if ($imapStream === false)
316316
throw new \RuntimeException(imap_last_error());

0 commit comments

Comments
 (0)