| 1 | <?php |
||
| 17 | final class ConcurrencyRaceLost extends Exception |
||
| 18 | { |
||
| 19 | /** @var StreamId */ |
||
| 20 | private $streamId; |
||
| 21 | |||
| 22 | /** @var DomainEventInterface */ |
||
| 23 | private $lostEvents; |
||
| 24 | |||
| 25 | public function __construct(StreamId $streamId, DomainEventSequence $lostEvents) |
||
| 31 | |||
| 32 | public function getStreamId(): StreamId |
||
| 36 | |||
| 37 | public function getLostEvents(): DomainEventSequence |
||
| 41 | } |
||
| 42 |
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..