diff --git a/app/Server/Factory.php b/app/Server/Factory.php index c3e834d..b5cf50c 100644 --- a/app/Server/Factory.php +++ b/app/Server/Factory.php @@ -310,7 +310,7 @@ class Factory protected function registerStatisticsCollector() { if (config('expose.admin.statistics.enable_statistics', true) === false) { - return; + return $this; } app()->singleton(StatisticsRepository::class, function () {