mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 02:54:26 +00:00
Fix CS
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user