Skip to content

Commit

Permalink
yoda conditioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Beeson committed Jan 31, 2025
1 parent 8f121ca commit 70d884b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Monolog/Formatter/LineMessageFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function format(array $record)
}
}

if ($this->logMessageFormat === 'json') {
if ('json' === $this->logMessageFormat) {
return $this->jsonMessage($class, $message, $date, $record);
}

Expand Down

0 comments on commit 70d884b

Please sign in to comment.