Skip to content

Commit 730aa0a

Browse files
authored
Merge pull request #784 from patchlevel/fix-typo-in-docs
Fix typo in docs: RoomBocked -> RoomBooked
2 parents 31811ec + b638d9d commit 730aa0a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/pages/aggregate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ final class Hotel extends BasicAggregateRoot
565565
throw new NoPlaceException($name);
566566
}
567567

568-
$this->recordThat(new RoomBocked($name));
568+
$this->recordThat(new RoomBooked($name));
569569

570570
if ($this->people !== self::SIZE) {
571571
return;
@@ -575,7 +575,7 @@ final class Hotel extends BasicAggregateRoot
575575
}
576576

577577
#[Apply]
578-
protected function applyRoomBocked(RoomBocked $event): void
578+
protected function applyRoomBooked(RoomBooked $event): void
579579
{
580580
$this->people++;
581581
}

0 commit comments

Comments
 (0)