mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 09:06:10 +02:00
Changing typo in variable name and default title for pushover message
This commit is contained in:
@@ -32,10 +32,10 @@ class PushoverHandler extends SocketHandler
|
||||
* @param integer $level The minimum logging level at which this handler will be triggered
|
||||
* @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
|
||||
*/
|
||||
public function __construct($token, $user, $title = 'Monolog error', $level = Logger::CRITICAL, $bubble = true)
|
||||
public function __construct($token, $user, $title = 'Monolog', $level = Logger::CRITICAL, $bubble = true)
|
||||
{
|
||||
parent::__construct('api.pushover.net', $level, $bubble);
|
||||
$this->conntectionPort = 80;
|
||||
$this->connectionPort = 80;
|
||||
|
||||
$this->token = $token;
|
||||
$this->user = $user;
|
||||
@@ -65,7 +65,7 @@ class PushoverHandler extends SocketHandler
|
||||
|
||||
return http_build_query($dataArray);
|
||||
}
|
||||
|
||||
|
||||
private function buildHeaderAndAddContent($content)
|
||||
{
|
||||
$header = "POST /1/messages.json HTTP/1.1\r\n";
|
||||
|
Reference in New Issue
Block a user