Skip to content

Commit

Permalink
improve check for telescope (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon authored Apr 19, 2024
1 parent 3c415cd commit 4a08256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Servers/Reverb/Console/Commands/StartServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4a08256

Please sign in to comment.