Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
26 | public function testPush() |
||
27 | { |
||
28 | $queue = 'test-queue'; |
||
29 | $message = json_encode(['test' => 'example']); |
||
30 | |||
31 | $this->redis |
||
32 | ->expects($this->once()) |
||
33 | ->method('rPush') |
||
34 | ->with($queue, $message) |
||
35 | ->willReturn(true); |
||
36 | |||
37 | $this->assertTrue($this->driver->push($queue, $message)); |
||
38 | } |
||
39 | |||
66 |
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..