Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 10c2a06

Browse files
committed
wip
1 parent 5e0ec9e commit 10c2a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/StartWebSocketServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ protected function configureStatisticsLogger()
6161
$browser = new Browser($this->loop, $connector);
6262

6363
app()->singleton(StatisticsLoggerInterface::class, function () use ($browser) {
64-
$class = config('websockets.statistics.logger') ?: \BeyondCode\LaravelWebSockets\Statistics\Logger::class;
64+
$class = config('websockets.statistics.logger', \BeyondCode\LaravelWebSockets\Statistics\Logger::class);
6565

6666
return new $class(app(ChannelManager::class), $browser);
6767
});

0 commit comments

Comments
 (0)