1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 21:08:34 +01:00

Remove Predis object limited (#319)

This commit is contained in:
Except10n 2017-08-17 15:09:22 +08:00 committed by Barry vd. Heuvel
parent 9e79da3d29
commit 3c82244dff

View File

@ -10,8 +10,6 @@
namespace DebugBar\Storage;
use Predis\Client;
/**
* Stores collected data into Redis
*/
@ -25,7 +23,7 @@ class RedisStorage implements StorageInterface
* @param \Predis\Client $redis Redis Client
* @param string $hash
*/
public function __construct(Client $redis, $hash = 'phpdebugbar')
public function __construct($redis, $hash = 'phpdebugbar')
{
$this->redis = $redis;
$this->hash = $hash;