diff --git a/CHANGELOG.md b/CHANGELOG.md index 276f6e3..f65b2b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,4 @@ -# 2.5.3 (2025-06-08) -- Update typing of Log() to support all psr\log versions - -- # 2.5.2 (2025-06-08) +# 2.5.2 (2025-06-08) - Update typing of Log() to support all psr\log versions # 2.5.1 (2025-06-08) diff --git a/src/Resque/Log.php b/src/Resque/Log.php index 2608d87..3756f52 100644 --- a/src/Resque/Log.php +++ b/src/Resque/Log.php @@ -28,7 +28,7 @@ class Log extends \Psr\Log\AbstractLogger * * @return null */ - public function log($level, $message, array $context = []): void + public function log($level, string|\Stringable $message, array $context = []): void { $logLevels = [ 'emergency', diff --git a/src/Resque/Resque.php b/src/Resque/Resque.php index f193e18..97d579d 100644 --- a/src/Resque/Resque.php +++ b/src/Resque/Resque.php @@ -12,7 +12,7 @@ namespace Resque; class Resque { - public const VERSION = '2.5.3'; + public const VERSION = '2.5.2'; public const DEFAULT_INTERVAL = 5;