Heroku fix

This commit is contained in:
Pablo Ferreiro 2022-01-14 19:31:08 +01:00
parent 282ad20a6b
commit b5615831ef
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
2 changed files with 2 additions and 4 deletions

View file

@ -1,12 +1,10 @@
<?php
namespace Helpers\CacheEngines;
use \Redis;
class RedisCache {
private \Redis $client;
function __construct(string $host, int $port, ?string $password) {
$this->client = new Redis();
$this->client = new \Redis();
$this->client->connect($host, $port);
if ($password) {
$this->client->auth($password);