Skip to content

Commit

Permalink
Remove unecessary cast (#1595)
Browse files Browse the repository at this point in the history
  • Loading branch information
carusogabriel authored and Synchro committed Nov 11, 2018
1 parent 43b7742 commit 04723d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SMTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ public function data($msg_data)
public function hello($host = '')
{
//Try extended hello first (RFC 2821)
return (bool) ($this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host));
return $this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host);
}

/**
Expand Down

0 comments on commit 04723d0

Please sign in to comment.