Skip to content

Commit

Permalink
Tests: fix for PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jul 4, 2023
1 parent 0dc37d0 commit 1a9a83c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Fixtures/Psr/DummyLogger.php
Expand Up @@ -3,7 +3,6 @@
namespace Tests\Fixtures\Psr;

use Psr\Log\AbstractLogger;
use Stringable;

class DummyLogger extends AbstractLogger
{
Expand All @@ -13,8 +12,9 @@ class DummyLogger extends AbstractLogger

/**
* @param mixed[] $context
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint
*/
public function log(mixed $level, string|Stringable $message, array $context = []): void
public function log($level, $message, array $context = []): void
{
$record = [
'level' => $level,
Expand Down

0 comments on commit 1a9a83c

Please sign in to comment.