Heroku fix
This commit is contained in:
parent
282ad20a6b
commit
b5615831ef
2 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue