diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Log.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index a18b5db7d09..e47f68807d3 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -245,12 +245,12 @@ class Log implements ILogger { /** * Logs with an arbitrary level. * - * @param mixed $level + * @param int $level * @param string $message * @param array $context * @return void */ - public function log($level, string $message, array $context = []) { + public function log(int $level, string $message, array $context = []) { $minLevel = min($this->config->getValue('loglevel', Util::WARN), Util::FATAL); $logCondition = $this->config->getValue('log.condition', []); |