Skip to content

Commit

Permalink
Support phpredis php extension (barryvdh#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
Except10n authored and barryvdh committed Dec 24, 2017
1 parent 72fce8d commit d42cb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelDebugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ protected function selectStorage(DebugBar $debugbar)
case 'redis':
$connection = $config->get('debugbar.storage.connection');
$client = $this->app['redis']->connection($connection);
if (is_a($client, 'Illuminate\Redis\Connections\PredisConnection', false)) {
if (is_a($client, 'Illuminate\Redis\Connections\Connection', false)) {
$client = $client->client();
}
$storage = new RedisStorage($client);
Expand Down

0 comments on commit d42cb99

Please sign in to comment.