diff --git a/Log/FileLogger.php b/Log/FileLogger.php index e52d8bbe6..ba105f44f 100644 --- a/Log/FileLogger.php +++ b/Log/FileLogger.php @@ -483,12 +483,12 @@ class FileLogger implements LoggerInterface * * @return array */ - public function getHighestPerpetrator(int $limit = 10) + public function getHighestPerpetrator(int $limit = 10) : array { $connection = []; if (!file_exists($this->path)) { - return 0; + return $connection; } $this->fp = fopen($this->path, 'r');