laravel / reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.
https://reverb.laravel.com
MIT License
1.02k stars 71 forks source link

[1.x] Improves check for Telescope #164

Closed joedixon closed 4 months ago

joedixon commented 4 months ago

It was pointed out to me that it's recommended in the docs to have Telescope installed, but toggle the service provider depending on the environment.

This means although \Laravel\Telescope\Telescope::class is available in the project, \Laravel\Telescope\Contracts\EntriesRepository::class is not bound.

This PR updates the check for the bound class instead.