Completed
Push — master ( 0ac5ab...0df983 )
by Joshua
10:16 queued 12s
created

PhpRedisCluster::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
4
namespace Noxlogic\RateLimitBundle\Service\Storage;
5
6
7
class PhpRedisCluster extends PhpRedis
8
{
9
10
    public function __construct(\RedisCluster $client)
11
    {
12
        $this->client = $client;
0 ignored issues
show
Documentation Bug introduced by
It seems like $client of type object<RedisCluster> is incompatible with the declared type object<Redis> of property $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..

Loading history...
13
    }
14
15
}