Skip to content

Commit

Permalink
Fix argument handling that prevented SecureSocketConnector from working
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzi committed Nov 28, 2016
1 parent 7da1f94 commit 7c8c2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SMTP/Connector/SecureSocketConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class SecureSocketConnector extends SocketConnector
*/
public function __construct($host, $port = 25, $crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT)
{
parent::__construct($this->host, $port);
parent::__construct($host, $port);

$this->crypto_method = $crypto_method;
}
Expand Down

0 comments on commit 7c8c2b8

Please sign in to comment.