diff --git a/src/Protocols/Pusher/EventDispatcher.php b/src/Protocols/Pusher/EventDispatcher.php index 75758321..0f3dca9d 100644 --- a/src/Protocols/Pusher/EventDispatcher.php +++ b/src/Protocols/Pusher/EventDispatcher.php @@ -6,8 +6,8 @@ use Laravel\Reverb\Application; use Laravel\Reverb\Contracts\Connection; use Laravel\Reverb\Protocols\Pusher\Contracts\ChannelManager; -use Laravel\Reverb\Servers\Reverb\Contracts\PubSubProvider; use Laravel\Reverb\ServerProviderManager; +use Laravel\Reverb\Servers\Reverb\Contracts\PubSubProvider; class EventDispatcher { diff --git a/src/Servers/Reverb/Console/Commands/StartServer.php b/src/Servers/Reverb/Console/Commands/StartServer.php index ada7b114..3b7b985d 100644 --- a/src/Servers/Reverb/Console/Commands/StartServer.php +++ b/src/Servers/Reverb/Console/Commands/StartServer.php @@ -16,7 +16,6 @@ use Laravel\Reverb\Servers\Reverb\Contracts\PubSubProvider; use Laravel\Reverb\Servers\Reverb\Factory as ServerFactory; use Laravel\Reverb\Servers\Reverb\Http\Server; -use Laravel\Reverb\ServerServiceProviderManager; use React\EventLoop\Loop; use React\EventLoop\LoopInterface; use Symfony\Component\Console\Command\SignalableCommandInterface; diff --git a/tests/ReverbTestCase.php b/tests/ReverbTestCase.php index 2dda338a..86fca593 100644 --- a/tests/ReverbTestCase.php +++ b/tests/ReverbTestCase.php @@ -3,9 +3,9 @@ namespace Laravel\Reverb\Tests; use Illuminate\Support\Str; +use Laravel\Reverb\ServerProviderManager; use Laravel\Reverb\Servers\Reverb\Contracts\PubSubProvider; use Laravel\Reverb\Servers\Reverb\Factory; -use Laravel\Reverb\ServerProviderManager; use Ratchet\Client\WebSocket; use React\Async\SimpleFiber; use React\EventLoop\Loop; diff --git a/tests/Unit/EventTest.php b/tests/Unit/EventTest.php index 8c7a3257..4d99b107 100644 --- a/tests/Unit/EventTest.php +++ b/tests/Unit/EventTest.php @@ -3,8 +3,8 @@ use Laravel\Reverb\Contracts\ApplicationProvider; use Laravel\Reverb\Protocols\Pusher\Contracts\ChannelConnectionManager; use Laravel\Reverb\Protocols\Pusher\EventDispatcher; -use Laravel\Reverb\Servers\Reverb\Contracts\PubSubProvider; use Laravel\Reverb\ServerProviderManager; +use Laravel\Reverb\Servers\Reverb\Contracts\PubSubProvider; it('can publish an event when enabled', function () { $app = app(ApplicationProvider::class)->findByKey('pusher-key');