Skip to content

Commit

Permalink
Fixing 5.6 typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
challgren committed Dec 26, 2018
1 parent 0b19979 commit 9b6d3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mailer/MailgunEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function setTags($tags)
*
* @return $this
*/
public function enableDkim(bool $enable = true)
public function enableDkim($enable = true)
{
$this->addHeaders(['X-Mailgun-Dkim' => $enable ? 'yes' : 'no']);

Expand Down Expand Up @@ -103,7 +103,7 @@ public function testMode($drop = true)
*
* @see https://documentation.mailgun.com/en/latest/user_manual.html#tracking-messages
*/
public function enableTracking(bool $track = true)
public function enableTracking($track = true)
{
$this->addHeaders(['X-Mailgun-Track' => $track ? 'yes' : 'no']);

Expand Down

0 comments on commit 9b6d3d2

Please sign in to comment.