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:
Diffstat (limited to 'core/Log/Formatter/LineMessageFormatter.php')
-rw-r--r--core/Log/Formatter/LineMessageFormatter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Log/Formatter/LineMessageFormatter.php b/core/Log/Formatter/LineMessageFormatter.php
index 4b778f858a..14096ce7ac 100644
--- a/core/Log/Formatter/LineMessageFormatter.php
+++ b/core/Log/Formatter/LineMessageFormatter.php
@@ -28,7 +28,7 @@ class LineMessageFormatter extends Formatter
$this->logMessageFormat = $logMessageFormat;
}
- public function format(array $record, Log $logger)
+ public function format(array $record)
{
if (! is_string($record['message'])) {
throw new \InvalidArgumentException('Trying to log a message that is not a string');
@@ -40,6 +40,6 @@ class LineMessageFormatter extends Formatter
$this->logMessageFormat
);
- return $this->next($record, $logger);
+ return $this->next($record);
}
}