Completed
Pull Request — master (#42)
by guillaume
03:28
created
Command/LoggerStateChannelCommand.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,15 +4,12 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.