Skip to content

Commit 46ea4ba

Browse files
authored
correct type in PersonHandler example (#1273)
1 parent 8cc9e0e commit 46ea4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/messenger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
9292
9393
final class PersonHandler implements MessageHandlerInterface
9494
{
95-
public function __invoke(PersonHandler $person)
95+
public function __invoke(Person $person)
9696
{
9797
// do something with the resource
9898
}

0 commit comments

Comments
 (0)