Always return '$this' in 'registerStatisticsCollector' (#292)

This commit is contained in:
Markus Lilienberg
2022-02-12 12:08:20 +01:00
committed by GitHub
parent 76ce21aebb
commit 3aa4847d33

View File

@@ -310,7 +310,7 @@ class Factory
protected function registerStatisticsCollector() protected function registerStatisticsCollector()
{ {
if (config('expose.admin.statistics.enable_statistics', true) === false) { if (config('expose.admin.statistics.enable_statistics', true) === false) {
return; return $this;
} }
app()->singleton(StatisticsRepository::class, function () { app()->singleton(StatisticsRepository::class, function () {