Skip to content

Commit d42cb99

Browse files
Except10nbarryvdh
authored andcommitted
Support phpredis php extension (barryvdh#606)
1 parent 72fce8d commit d42cb99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelDebugbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ protected function selectStorage(DebugBar $debugbar)
10121012
case 'redis':
10131013
$connection = $config->get('debugbar.storage.connection');
10141014
$client = $this->app['redis']->connection($connection);
1015-
if (is_a($client, 'Illuminate\Redis\Connections\PredisConnection', false)) {
1015+
if (is_a($client, 'Illuminate\Redis\Connections\Connection', false)) {
10161016
$client = $client->client();
10171017
}
10181018
$storage = new RedisStorage($client);

0 commit comments

Comments
 (0)