Skip to content

Commit

Permalink
[CARD-2980] Fix code style in sample in README (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-challis authored Jun 28, 2021
1 parent 78a9a00 commit 767bb22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ use Lendable\Aggregate\AggregateId;

final class FooIdExtractor extends AggregateIdExtractorSpec
{
protected function createExtractor() : AggregateIdExtractor
protected function createExtractor(): AggregateIdExtractor
{
return new FooIdExtractor();
}

protected function createExpectedAggregateId() : AggregateId
protected function createExpectedAggregateId(): AggregateId
{
return AggregateId::fromString('1406fd13-29d3-44e3-812c-c1cd14e12b38');
}

protected function createAggregateWithExpectedAggregateId() : object
protected function createAggregateWithExpectedAggregateId(): object
{
return Foo::register(FooId::fromString('1406fd13-29d3-44e3-812c-c1cd14e12b38'));
}
Expand Down

0 comments on commit 767bb22

Please sign in to comment.