diff --git a/src/Console/StartWebSocketServer.php b/src/Console/StartWebSocketServer.php index bdb4bc3..6a61f45 100644 --- a/src/Console/StartWebSocketServer.php +++ b/src/Console/StartWebSocketServer.php @@ -51,7 +51,7 @@ class StartWebSocketServer extends Command 'handler' => HandlerStack::create($handler), ]); - app()->singleton('websockets.statisticslogger', function() use ($client) { + app()->singleton('websockets.statisticsLogger', function() use ($client) { return new StatisticsLogger(app(ChannelManager::class), $client); }); diff --git a/src/Facades/StatisticsLogger.php b/src/Facades/StatisticsLogger.php index b289213..8eb90fa 100644 --- a/src/Facades/StatisticsLogger.php +++ b/src/Facades/StatisticsLogger.php @@ -10,7 +10,7 @@ class StatisticsLogger extends Facade { protected static function getFacadeAccessor() { - return 'websockets.statisticslogger'; + return 'websockets.statisticsLogger'; } public static function fake()