It seems like $lostEvents of type object<Daikon\EventSourc...te\DomainEventSequence> is incompatible with the declared type object<Daikon\EventSourc...e\DomainEventInterface> of property $lostEvents.
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...
29
parent::__construct('Unable to catchup on stream: '.$this->streamId);
30
}
31
32
public function getStreamId(): StreamId
33
{
34
return $this->streamId;
35
}
36
37
public function getLostEvents(): DomainEventSequence
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..