for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Krenor\Prometheus\Storage\Redis;
use Redis;
class PhpRedisConnection extends Connection
{
/**
* PhpRedisConnection constructor.
*
* @param Redis $redis
*/
public function __construct(Redis $redis)
$this->client = $redis;
$redis
Redis
Predis\Client
$client
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
}
* {@inheritdoc}
public function hset(string $key, string $field, $value): int
return (int) $this->client->hset($key, $field, $value);
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..