mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Always return '$this' in 'registerStatisticsCollector' (#292)
This commit is contained in:
committed by
GitHub
parent
76ce21aebb
commit
3aa4847d33
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user