Skip to content

Commit

Permalink
fix example code
Browse files Browse the repository at this point in the history
  • Loading branch information
azjezz committed Nov 2, 2019
1 parent 21e5289 commit 57454b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use namespace Nuxed\EventDispatcher;
use namespace Nuxed\EventDispatcher\ListenerProvider;
<<__EntryPoint>>
async function main(): void {
async function main(): Awaitable<void> {
$provider = new ListenerProvider\ReifiedListenerProvider();
$provider->listen<SomeEvent>(new SomeEventListener());
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nuxed/event-dispatcher",
"type": "library",
"description": "Nuxed Event Dispatcher - Manage Environment variables with ease",
"description": "Nuxed Event Dispatcher",
"license": "MIT",
"authors": [
{
Expand Down

0 comments on commit 57454b4

Please sign in to comment.