diff --git a/src/Log/DebugLogger.php b/src/Log/DebugLogger.php index 4f27357f..803940b1 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 */ @@ -37,11 +37,12 @@ public function log($level, $message, array $context = []): void } /** + * @param mixed $level * @param array $context * @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 */