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