@@ -57,7 +57,7 @@ |
||
| 57 | 57 | |
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | - * @param $pid |
|
| 60 | + * @param integer $pid |
|
| 61 | 61 | * @return $this |
| 62 | 62 | */ |
| 63 | 63 | public function setPid($pid) { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | */ |
| 22 | 22 | public function __construct(OutputInterface $output, $max = 0) { |
| 23 | 23 | |
| 24 | - static::setPlaceholderFormatterDefinition('current', function (ProgressBar $bar) { |
|
| 24 | + static::setPlaceholderFormatterDefinition('current', function(ProgressBar $bar) { |
|
| 25 | 25 | return $bar->getProgress(); |
| 26 | 26 | }); |
| 27 | 27 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | $this->setMessage('', 'data'); |
| 36 | 36 | $this->setMessage(''); |
| 37 | 37 | |
| 38 | - $this->setPlaceholderFormatterDefinition('itemsPerSecond', function (ProgressBar $bar) { |
|
| 38 | + $this->setPlaceholderFormatterDefinition('itemsPerSecond', function(ProgressBar $bar) { |
|
| 39 | 39 | |
| 40 | 40 | $seconds = (time() - $bar->getStartTime()); |
| 41 | 41 | $seconds = empty($seconds) ? 1 : $seconds; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | public function getCronTasks(Application $application, $filter = null) { |
| 21 | 21 | |
| 22 | 22 | if ($filter === null) { |
| 23 | - $filter = function (Reader $reader) { |
|
| 23 | + $filter = function(Reader $reader) { |
|
| 24 | 24 | return $reader->getParameter('crontab'); |
| 25 | 25 | }; |
| 26 | 26 | } |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * @inheritdoc |
| 18 | 18 | */ |
| 19 | 19 | public function configureSingleState(EventDispatcher $dispatcher) { |
| 20 | - $dispatcher->addListener(ConsoleEvents::COMMAND, function (ConsoleCommandEvent $event) { |
|
| 20 | + $dispatcher->addListener(ConsoleEvents::COMMAND, function(ConsoleCommandEvent $event) { |
|
| 21 | 21 | |
| 22 | 22 | /** @var ConsoleCommand $command */ |
| 23 | 23 | $command = $event->getCommand(); |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | }); |
| 39 | 39 | |
| 40 | - $dispatcher->addListener(ConsoleEvents::TERMINATE, function (ConsoleTerminateEvent $event) { |
|
| 40 | + $dispatcher->addListener(ConsoleEvents::TERMINATE, function(ConsoleTerminateEvent $event) { |
|
| 41 | 41 | /** @var ConsoleCommand $command */ |
| 42 | 42 | $command = $event->getCommand(); |
| 43 | 43 | |