From 4a08256db8ed7739540a1f175bca791bbb02663c Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Fri, 19 Apr 2024 16:09:51 +0100 Subject: [PATCH] improve check for telescope (#164) --- 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; }