Skip to content

Commit

Permalink
Make log level less strict
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBehrens committed May 21, 2020
1 parent 6b6758f commit d7f4f4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Log/DebugLogger.php
Expand Up @@ -23,7 +23,7 @@ public function __construct(LogHandlerInterface $handler)
}

/**
* @param int $level
* @param mixed $level
* @param string $message
* @param array<string, mixed> $context
*/
Expand All @@ -41,7 +41,7 @@ public function log($level, $message, array $context = []): void
* @return array<string, mixed>
* @throws Exception
*/
private function buildRecord(int $level, string $message, array $context = []): array
private function buildRecord($level, string $message, array $context = []): array
{
if (array_key_exists('error', $context)) {
/** @var Throwable $error */
Expand Down

0 comments on commit d7f4f4b

Please sign in to comment.