1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-20 16:16:37 +02:00
This commit is contained in:
Jordi Boggiano
2016-05-26 20:54:06 +01:00
parent 85e43a5e7b
commit f200e79879
115 changed files with 1138 additions and 1123 deletions

View File

@@ -65,7 +65,7 @@ class FirePHPHandler extends AbstractProcessingHandler
{
$header = sprintf('%s-%s', self::HEADER_PREFIX, join('-', $meta));
return array($header => $message);
return [$header => $message];
}
/**
@@ -80,7 +80,7 @@ class FirePHPHandler extends AbstractProcessingHandler
// Wildfire is extensible to support multiple protocols & plugins in a single request,
// but we're not taking advantage of that (yet), so we're using "1" for simplicity's sake.
return $this->createHeader(
array(1, 1, 1, self::$messageIndex++),
[1, 1, 1, self::$messageIndex++],
$record['formatted']
);
}
@@ -104,9 +104,9 @@ class FirePHPHandler extends AbstractProcessingHandler
{
// Initial payload consists of required headers for Wildfire
return array_merge(
$this->createHeader(array('Protocol', 1), self::PROTOCOL_URI),
$this->createHeader(array(1, 'Structure', 1), self::STRUCTURE_URI),
$this->createHeader(array(1, 'Plugin', 1), self::PLUGIN_URI)
$this->createHeader(['Protocol', 1], self::PROTOCOL_URI),
$this->createHeader([1, 'Structure', 1], self::STRUCTURE_URI),
$this->createHeader([1, 'Plugin', 1], self::PLUGIN_URI)
);
}