Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit bfcfc6e

Browse files
committed
Merge branch 'hotfix/33'
Close #33
2 parents 7a73f7c + 69f0b30 commit bfcfc6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ $sharedEvents->attach('Foo', 'bar', function ($e) use ($log) {
142142

143143
// Later, instantiate Foo:
144144
$foo = new Foo();
145-
$foo->setEventManager(new EventManager([], $sharedEvents));
145+
$foo->setEventManager(new EventManager($sharedEvents, []));
146146

147147
// And we can still trigger the above event:
148148
$foo->bar('baz', 'bat');

0 commit comments

Comments
 (0)