Skip to content

Commit

Permalink
adjust annotations in MultiTableStore and SingleTableStore
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlehrmann committed Dec 21, 2021
1 parent abd85fb commit ee4fa0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Store/MultiTableStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function load(string $aggregate, string $id, int $fromPlayhead = 0): arra
->where('aggregateId = :id AND playhead > :playhead')
->getSQL();

/** @var array<array{aggregateId: string, playhead: string, event: class-string<AggregateChanged<array<string, mixed>>>, payload: string, recordedOn: string}> $result */
/** @var array<array{aggregateId: string, playhead: string|int, event: class-string<AggregateChanged<array<string, mixed>>>, payload: string, recordedOn: string}> $result */
$result = $this->connection->fetchAllAssociative(
$sql,
[
Expand Down
2 changes: 1 addition & 1 deletion src/Store/SingleTableStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function load(string $aggregate, string $id, int $fromPlayhead = 0): arra
->where('aggregate = :aggregate AND aggregateId = :id AND playhead > :playhead')
->getSQL();

/** @var array<array{aggregateId: string, playhead: string, event: class-string<AggregateChanged<array<string, mixed>>>, payload: string, recordedOn: string}> $result */
/** @var array<array{aggregateId: string, playhead: string|int, event: class-string<AggregateChanged<array<string, mixed>>>, payload: string, recordedOn: string}> $result */
$result = $this->connection->fetchAllAssociative(
$sql,
[
Expand Down

0 comments on commit ee4fa0f

Please sign in to comment.