Skip to content

Commit

Permalink
Merge pull request #360 from enumag/patch-3
Browse files Browse the repository at this point in the history
Improve docblocks of ResolvedEvent
  • Loading branch information
prolic authored Mar 15, 2019
2 parents e2b95ee + f0730fe commit fdd5514
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/ResolvedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,19 @@
class ResolvedEvent implements InternalResolvedEvent
{
/**
* The event, or the resolved link event if this is a link event
* If this ResolvedEvent is a link, this will contain the linked event.
* If this ResolvedEvent is a simple event without link, the event will be here.
* @var RecordedEvent|null
*/
private $event;
/**
* The link event if this ResolvedEvent is a link event.
* If this ResolvedEvent is a link, this will contain the link. Otherwise it will be empty.
* @var RecordedEvent|null
*/
private $link;
/**
* Returns the event that was read or which triggered the subscription.
*
* If this ResolvedEvent represents a link event, the Link
* will be the OriginalEvent otherwise it will be the event.
* If this ResolvedEvent is a link, this will contain the link. Otherwise it will be the event.
* @var RecordedEvent|null
*/
private $originalEvent;
Expand Down

0 comments on commit fdd5514

Please sign in to comment.