| 1 | <?php |
||
| 13 | class RandomSequenceResolver implements SequenceResolver |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * The las ttimestamp. |
||
| 17 | * |
||
| 18 | * @var null |
||
| 19 | */ |
||
| 20 | protected $lastTimeStamp = -1; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The sequence. |
||
| 24 | * |
||
| 25 | * @var int |
||
| 26 | */ |
||
| 27 | protected $sequence = 0; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | 7 | public function sequence(int $currentTime) |
|
| 46 | } |
||
| 47 |
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..