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

Commit e3c0cea

Browse files
committed
Fix tests failing on older versions of Laravel
1 parent 5979f63 commit e3c0cea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WebSocketsServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ public function register()
9595

9696
$this->app->singleton(ChannelManager::class, function () {
9797
return config('websockets.channel_manager') !== null && class_exists(config('websockets.channel_manager'))
98-
? $this->app->get(config('websockets.channel_manager')) : new ArrayChannelManager();
98+
? $this->app->make(config('websockets.channel_manager')) : new ArrayChannelManager();
9999
});
100100

101101
$this->app->singleton(AppProvider::class, function () {
102-
return $this->app->get(config('websockets.app_provider'));
102+
return $this->app->make(config('websockets.app_provider'));
103103
});
104104
}
105105

0 commit comments

Comments
 (0)