From b46a04286bfef6833fcb3f9f5aaefba2706145f1 Mon Sep 17 00:00:00 2001 From: bmdevel Date: Wed, 13 Mar 2024 17:59:57 +0100 Subject: [PATCH] fix: compatability with Psr\Log v3.0.0 --- lib/Resque/Log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Resque/Log.php b/lib/Resque/Log.php index d3231c48..909439b5 100644 --- a/lib/Resque/Log.php +++ b/lib/Resque/Log.php @@ -22,7 +22,7 @@ public function __construct($verbose = false) { * @param array $context Variables to replace { placeholder } * @return null */ - public function log($level, string|\Stringable $message, array $context = array()) + public function log($level, string|\Stringable $message, array $context = []): void { if ($this->verbose) { fwrite(