mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 07:06:40 +02:00
Make use of 'extra'
Follow guidelines by using the 'extra' key from record
This commit is contained in:
@@ -101,8 +101,8 @@ class PushoverHandler extends SocketHandler
|
||||
$dataArray['priority'] = 1;
|
||||
}
|
||||
|
||||
if (isset($record['sound']) && in_array($record['sound'], $this->sounds)) {
|
||||
$dataArray['sound'] = $record['sound'];
|
||||
if (isset($record['extra']['sound']) && in_array($record['extra']['sound'], $this->sounds)) {
|
||||
$dataArray['sound'] = $record['extra']['sound'];
|
||||
}
|
||||
|
||||
return http_build_query($dataArray);
|
||||
|
Reference in New Issue
Block a user