1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00

Tweak const visibility, refs #1228

This commit is contained in:
Jordi Boggiano
2018-11-29 20:05:19 +01:00
parent a7984a640f
commit bb99e4c699
16 changed files with 48 additions and 55 deletions

View File

@@ -18,7 +18,7 @@ namespace Monolog\Formatter;
*/
class LogmaticFormatter extends JsonFormatter
{
public const MARKERS = ["sourcecode", "php"];
protected const MARKERS = ["sourcecode", "php"];
/**
* @var string
@@ -59,7 +59,7 @@ class LogmaticFormatter extends JsonFormatter
$record["appname"] = $this->appname;
}
$record["@marker"] = self::MARKERS;
$record["@marker"] = static::MARKERS;
return parent::format($record);
}