From 767bb225e530bfbabad45d0ff0b9668371a3e98e Mon Sep 17 00:00:00 2001 From: Ben Challis Date: Mon, 28 Jun 2021 13:37:10 +0100 Subject: [PATCH] [CARD-2980] Fix code style in sample in README (#24) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1733d9b2..50773d07 100644 --- a/README.md +++ b/README.md @@ -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')); }