1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Update JsonFormatter.php

It's more clear and proper this way to put all class constants on top.
This commit is contained in:
Ala Eddine Khefifi
2014-10-04 12:39:13 +01:00
parent 2bd58073fd
commit 49f01b6ff6

View File

@@ -20,11 +20,11 @@ namespace Monolog\Formatter;
*/ */
class JsonFormatter implements FormatterInterface class JsonFormatter implements FormatterInterface
{ {
protected $batchMode;
protected $appendNewline;
const BATCH_MODE_JSON = 1; const BATCH_MODE_JSON = 1;
const BATCH_MODE_NEWLINES = 2; const BATCH_MODE_NEWLINES = 2;
protected $batchMode;
protected $appendNewline;
/** /**
* @param int $batchMode * @param int $batchMode