mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 17:16:18 +02:00
Specify port in the connection string instead of adding a protected property
This commit is contained in:
@@ -34,8 +34,7 @@ class PushoverHandler extends SocketHandler
|
||||
*/
|
||||
public function __construct($token, $user, $title = 'Monolog', $level = Logger::CRITICAL, $bubble = true)
|
||||
{
|
||||
parent::__construct('api.pushover.net', $level, $bubble);
|
||||
$this->connectionPort = 80;
|
||||
parent::__construct('api.pushover.net:80', $level, $bubble);
|
||||
|
||||
$this->token = $token;
|
||||
$this->user = $user;
|
||||
|
Reference in New Issue
Block a user