Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Feb 16, 2020
1 parent bf0f950 commit d3c2071
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class connect_to_existing_persistent_subscription_with_start_from_x_set_higher_t
private PersistentSubscriptionSettings $settings;
private string $group = 'startinbeginning1';
private Deferred $resetEvent;
private ?ResolvedEvent $firstEvent = null;
private ?ResolvedEvent $firstEvent;
private EventId $eventId;

protected function setUp(): void
Expand Down Expand Up @@ -74,7 +74,7 @@ protected function given(): Generator
$this->group,
new class($this->resetEvent, $this->firstEvent) implements EventAppearedOnPersistentSubscription {
private Deferred $deferred;
private ?ResolvedEvent $firstEvent = null;
private ?ResolvedEvent $firstEvent;

public function __construct($deferred, &$firstEvent)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class update_existing_persistent_subscription_with_subscribers extends TestCase
private string $stream;
private PersistentSubscriptionSettings $settings;
private Deferred $dropped;
private ?SubscriptionDropReason $reason = null;
private ?Throwable $exception = null;
private ?SubscriptionDropReason $reason;
private ?Throwable $exception;
private ?Throwable $caught = null;

protected function given(): Generator
Expand Down

0 comments on commit d3c2071

Please sign in to comment.