Skip to content

Commit d7cf4c5

Browse files
fix some typos in method names and php docs
1 parent cc931fd commit d7cf4c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/AggregateRoots/CommandHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class CartClearedForCommand extends ShouldBeStored
102102

103103
assertCount(1, CartForCommand::retrieve($this->UUID)->cartItems->items);
104104

105-
// Assert that commands are dispatched to the AR iteself
105+
// Assert that commands are dispatched to the AR itself
106106
$bus->dispatch(new ClearCart(
107107
$this->UUID,
108108
));

tests/TestClasses/Projectors/ProjectorWithoutHandlesEvents.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function functionThatHandlesMoneyAdd(MoneyAddedEvent $event)
1414
$event->account->addMoney($event->amount);
1515
}
1616

17-
public function anotherFunctionThatHandlesMoneySubstracted(MoneySubtractedEvent $event)
17+
public function anotherFunctionThatHandlesMoneySubtracted(MoneySubtractedEvent $event)
1818
{
1919
$event->account->subtractMoney($event->amount);
2020
}
@@ -23,7 +23,7 @@ public function functionWithoutTypeHint($parameter)
2323
{
2424
}
2525

26-
public function functionWithUnreleatedClassTypeHint(Collection $test)
26+
public function functionWithUnrelatedClassTypeHint(Collection $test)
2727
{
2828
}
2929

0 commit comments

Comments
 (0)