diff --git a/CHANGELOG.md b/CHANGELOG.md index 276f6e3..44c37b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,3 @@ -# 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) - Update psr/log version requirements diff --git a/composer.lock b/composer.lock index bb2aed1..d5f144c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d8e5313006d5c73b54ee6a410b1ad016", + "content-hash": "41f50fbbaf38787881da45b3077408fb", "packages": [ { "name": "colinmollenhour/credis", diff --git a/src/Resque/Log.php b/src/Resque/Log.php index 2608d87..d759a0e 100644 --- a/src/Resque/Log.php +++ b/src/Resque/Log.php @@ -25,10 +25,9 @@ class Log extends \Psr\Log\AbstractLogger * @param mixed $level PSR-3 log level constant, or equivalent string * @param string $message Message to log, may contain a { placeholder } * @param array $context Variables to replace { placeholder } - * * @return null */ - public function log($level, $message, array $context = []): void + public function log($level, \Stringable|string $message, array $context = []): void { $logLevels = [ 'emergency', diff --git a/src/Resque/Resque.php b/src/Resque/Resque.php index f193e18..aca7065 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.1'; public const DEFAULT_INTERVAL = 5;