Skip to content

Commit

Permalink
type hint for Mail writer
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 22, 2018
1 parent 8ba964c commit 6724fdb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/Handler/Writer/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ class Mail extends BaseMail
private $requestData;

/**
* @param MailMessage|array|Traversable $mail
* @param Transport\TransportInterface $transport Optional
* @param array $requestData
*
* @throws LogException\InvalidArgumentException
*/
public function __construct(
$mail,
Transport\TransportInterface $transport = null,
array $requestData
MailMessage $mail,
Transport\TransportInterface $transport,
array $requestData
) {
parent::__construct($mail, $transport);

Expand Down

0 comments on commit 6724fdb

Please sign in to comment.