Skip to content
Snippets Groups Projects
Commit 5e3df23c authored by Moshe Weitzman's avatar Moshe Weitzman
Browse files

Update LoggerTrait.php for psr3

parent 4ac72668
No related branches found
Tags 2.3.1
No related merge requests found
......@@ -28,7 +28,7 @@ trait LoggerTrait
/**
* {@inheritdoc}
*/
public function log($level, $message, array $context = []): void
public function log($level, string|\Stringable $message, array $context = []): void
{
if ($level <= $this->failOnLogsLevel) {
throw new LoggedMessageException(strtr($message, $context), $level);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment