diff --git a/src/Gelf/Transport/TcpTransport.php b/src/Gelf/Transport/TcpTransport.php index 1444412..af6a216 100644 --- a/src/Gelf/Transport/TcpTransport.php +++ b/src/Gelf/Transport/TcpTransport.php @@ -43,7 +43,7 @@ public function __construct( ) { parent::__construct(); - if ($port == self::AUTO_SSL_PORT && $this->sslOptions == null) { + if ($port === self::AUTO_SSL_PORT && $this->sslOptions === null) { $this->sslOptions = new SslOptions(); }