This commit is contained in:
Romain Neutron
2013-05-29 21:21:02 +02:00
parent e36e7ad085
commit 38f38290c8
35 changed files with 1577 additions and 1592 deletions

View File

@@ -25,7 +25,7 @@ class API_V1_Timer implements ServiceProviderInterface
$callback = function (Event $event) use ($app) {
$name = $event->getName();
$n = 1;
while(isset($app['api.timers']->{$name})) {
while (isset($app['api.timers']->{$name})) {
$n++;
$name = $event->getName() . '#' . $n;
}
@@ -50,4 +50,4 @@ class API_V1_Timer implements ServiceProviderInterface
public function boot(Application $app)
{
}
}
}