Skip to content

Commit

Permalink
Replace is_null() by ===
Browse files Browse the repository at this point in the history
  • Loading branch information
jadb committed Jun 5, 2015
1 parent be925ce commit 3013ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mailer/MailerAwareTrait.php
Expand Up @@ -49,7 +49,7 @@ public function getMailer($name, Email $email = null)
return $this->_mailers[$name];
}

if (is_null($email)) {
if ($email === null) {
$email = new Email();
}

Expand Down

0 comments on commit 3013ca2

Please sign in to comment.