Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-12-01 06:02:57 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-12-01 06:02:57 +0300
commite7474e669e221a3fd2b0f0f941364a872053d678 (patch)
tree961959da295da8a5b01aa2ea9b33920e719afd03 /core/Log/Formatter/HtmlPreFormatter.php
parent0794be0d5551998b683ac934e00604d277fe69e9 (diff)
#6622 Logger refactoring: implement Monolog's FormatterInterface
Diffstat (limited to 'core/Log/Formatter/HtmlPreFormatter.php')
-rw-r--r--core/Log/Formatter/HtmlPreFormatter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Log/Formatter/HtmlPreFormatter.php b/core/Log/Formatter/HtmlPreFormatter.php
index ecc52fc149..878304e8fa 100644
--- a/core/Log/Formatter/HtmlPreFormatter.php
+++ b/core/Log/Formatter/HtmlPreFormatter.php
@@ -16,9 +16,9 @@ use Piwik\Log;
*/
class HtmlPreFormatter extends Formatter
{
- public function format(array $record, Log $logger)
+ public function format(array $record)
{
- $record = $this->next($record, $logger);
+ $record = $this->next($record);
if (! is_string($record['message'])) {
return $record;