Skip to content

Commit 3c82244

Browse files
Except10nbarryvdh
authored andcommitted
Remove Predis object limited (php-debugbar#319)
1 parent 9e79da3 commit 3c82244

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/DebugBar/Storage/RedisStorage.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
namespace DebugBar\Storage;
1212

13-
use Predis\Client;
14-
1513
/**
1614
* Stores collected data into Redis
1715
*/
@@ -25,7 +23,7 @@ class RedisStorage implements StorageInterface
2523
* @param \Predis\Client $redis Redis Client
2624
* @param string $hash
2725
*/
28-
public function __construct(Client $redis, $hash = 'phpdebugbar')
26+
public function __construct($redis, $hash = 'phpdebugbar')
2927
{
3028
$this->redis = $redis;
3129
$this->hash = $hash;

0 commit comments

Comments
 (0)