1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 00:26:10 +02:00

Some consmetic changes

This commit is contained in:
Olivier Poitrey
2014-01-17 11:24:20 -08:00
parent f13900b7f1
commit 65caca2b78
2 changed files with 7 additions and 8 deletions

View File

@@ -21,9 +21,8 @@ use Monolog\Formatter\LineFormatter;
*/
class BrowserConsoleHandler extends AbstractProcessingHandler
{
static protected
$initialized = false,
$records = array();
static protected $initialized = false;
static protected $records = array();
/**
* {@inheritDoc}
@@ -104,7 +103,7 @@ class BrowserConsoleHandler extends AbstractProcessingHandler
);
}
}
return "(function(c){if (console && console.groupCollapsed) {\n" . implode("\n", $script) . "\n}})(console);";
return "(function(c){if (c && c.groupCollapsed) {\n" . implode("\n", $script) . "\n}})(console);";
}
static public function handleStyles($formatted)