Skip to content

Commit

Permalink
fix: compatability with Psr\Log v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bmdevel authored Mar 13, 2024
1 parent f532901 commit b46a042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Resque/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b46a042

Please sign in to comment.