diff --git a/src/Log/DebugLogger.php b/src/Log/DebugLogger.php index 4f27357f..04962fc9 100644 --- a/src/Log/DebugLogger.php +++ b/src/Log/DebugLogger.php @@ -23,7 +23,7 @@ public function __construct(LogHandlerInterface $handler) } /** - * @param int $level + * @param mixed $level * @param string $message * @param array $context */ @@ -41,7 +41,7 @@ public function log($level, $message, array $context = []): void * @return array * @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 */