Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

added missing new keyword #180

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/book/read.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ described in the ["Working with messages"](#working-with-messages) section.
```php
use Zend\Mail\Storage\Pop3;

$mail = Pop3([
$mail = new Pop3([
'host' => 'localhost',
'user' => 'test',
'password' => 'test',
Expand Down Expand Up @@ -70,7 +70,7 @@ use Zend\Mail\Storage\Imap;
use Zend\Mail\Storage\Pop3;

// Connecting with Pop3:
$mail = Pop3([
$mail = new Pop3([
'host' => 'example.com',
'user' => 'test',
'password' => 'test',
Expand Down Expand Up @@ -389,7 +389,7 @@ use Zend\Mail\Storage\Folder;
use Zend\Mail\Storage\Imap;

// mbox with folders:
$mail = Folder\Mbox(['dirname' => '/home/test/mail/']);
$mail = new Folder\Mbox(['dirname' => '/home/test/mail/']);

// mbox with a default folder not called INBOX; also works
// with the maildir and IMAP implementations.
Expand Down