Skip to content

Commit

Permalink
fix cant use method return value
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Nov 14, 2018
1 parent 0729dfd commit 92cda2a
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -22,7 +22,8 @@ public function isValid($email, EmailLexer $emailLexer)
return false;
}

if (empty($this->getWarnings())) {
$ret = $this->getWarnings();
if (empty($ret)) {
return true;
}

Expand Down

0 comments on commit 92cda2a

Please sign in to comment.