From f717e37dee17a0564be18131f658f9486c94a374 Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Fri, 19 Apr 2024 14:58:09 +0100 Subject: [PATCH] improve check for telescope --- src/Servers/Reverb/Console/Commands/StartServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servers/Reverb/Console/Commands/StartServer.php b/src/Servers/Reverb/Console/Commands/StartServer.php index c4ba7430..d4209444 100644 --- a/src/Servers/Reverb/Console/Commands/StartServer.php +++ b/src/Servers/Reverb/Console/Commands/StartServer.php @@ -151,7 +151,7 @@ protected function ensurePulseEventsAreCollected(LoopInterface $loop, int $inter */ protected function ensureTelescopeEntriesAreCollected(LoopInterface $loop, int $interval): void { - if (! class_exists(\Laravel\Telescope\Telescope::class)) { + if (! $this->laravel->bound(\Laravel\Telescope\Contracts\EntriesRepository::class)) { return; }