We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31811ec + b638d9d commit 730aa0aCopy full SHA for 730aa0a
1 file changed
docs/pages/aggregate.md
@@ -565,7 +565,7 @@ final class Hotel extends BasicAggregateRoot
565
throw new NoPlaceException($name);
566
}
567
568
- $this->recordThat(new RoomBocked($name));
+ $this->recordThat(new RoomBooked($name));
569
570
if ($this->people !== self::SIZE) {
571
return;
@@ -575,7 +575,7 @@ final class Hotel extends BasicAggregateRoot
575
576
577
#[Apply]
578
- protected function applyRoomBocked(RoomBocked $event): void
+ protected function applyRoomBooked(RoomBooked $event): void
579
{
580
$this->people++;
581
0 commit comments