|
@@ -98,7 +98,7 @@ |
|
|
block discarded – undo |
|
98
|
98
|
$eventDispatcher->addSubscriber($persistenceManager); |
|
99
|
99
|
|
|
100
|
100
|
// Configure the event loop and start the application |
|
101
|
|
- $eventLoop->addPeriodicTimer($configuration->getUpdateInterval(), function () use ($eventDispatcher) |
|
|
101
|
+ $eventLoop->addPeriodicTimer($configuration->getUpdateInterval(), function() use ($eventDispatcher) |
|
102
|
102
|
{ |
|
103
|
103
|
// Emit an event on each tick |
|
104
|
104
|
$eventDispatcher->dispatch(Events::MAIN_LOOP_TICK); |
Please login to merge, or discard this patch.