Skip to content

Commit

Permalink
Merge pull request #2 from macbre/monolog-2.x
Browse files Browse the repository at this point in the history
Stay compatible with Monolog 2.x
  • Loading branch information
macbre authored May 28, 2020
2 parents d641ab4 + c96bd3f commit f7e71fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Macbre/Formatters/JsonFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class JsonFormatter extends \Monolog\Formatter\JsonFormatter {
* @param array $record
* @return string formatted record
*/
public function format(array $record) {
public function format(array $record): string {
$entry = [
'@timestamp' => self::now(),
'@message' => $record['message'],
Expand Down

0 comments on commit f7e71fe

Please sign in to comment.