Skip to content

Commit

Permalink
correct register subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-gribanov committed Oct 3, 2017
1 parent 83de4e8 commit 377dec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class SendEmailOnPurchaseOrderCreated implements Subscriber
public static function subscribedEvents()
{
return [
PurchaseOrderCreatedEvent::class => 'onPurchaseOrderCreated',
PurchaseOrderCreatedEvent::class => ['onPurchaseOrderCreated'],
];
}

Expand Down

0 comments on commit 377dec3

Please sign in to comment.