@@ -4,15 +4,12 @@ |
||
| 4 | 4 | |
| 5 | 5 | use DateInterval; |
| 6 | 6 | use Itkg\DelayEventBundle\Document\Lock; |
| 7 | -use Itkg\DelayEventBundle\Handler\LockHandlerInterface; |
|
| 8 | 7 | use Itkg\DelayEventBundle\Notifier\NotifierInterface; |
| 9 | -use Itkg\DelayEventBundle\Repository\EventRepository; |
|
| 10 | 8 | use Itkg\DelayEventBundle\Repository\LockRepository; |
| 11 | 9 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
| 12 | 10 | use Symfony\Component\Console\Input\InputArgument; |
| 13 | 11 | use Symfony\Component\Console\Input\InputInterface; |
| 14 | 12 | use Symfony\Component\Console\Output\OutputInterface; |
| 15 | -use Symfony\Component\Filesystem\LockHandler; |
|
| 16 | 13 | |
| 17 | 14 | /** |
| 18 | 15 | * Class LoggerStateChannelCommand |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | |
| 114 | 114 | $time = $channel['duration_limit_per_run'] + $this->extraTime; |
| 115 | 115 | $dateWithMaxTime->add( |
| 116 | - new DateInterval('PT' . $time . 'S') |
|
| 116 | + new DateInterval('PT'.$time.'S') |
|
| 117 | 117 | ); |
| 118 | 118 | if (new \DateTime() > ($dateWithMaxTime)) { |
| 119 | 119 | $this->notifier->process($key); |