@@ -89,7 +89,7 @@ |
||
| 89 | 89 | * @param InputInterface $input |
| 90 | 90 | * @param string $param |
| 91 | 91 | */ |
| 92 | - private function setServiceParameter(InputInterface &$input, $param) |
|
| 92 | + private function setServiceParameter(InputInterface & $input, $param) |
|
| 93 | 93 | { |
| 94 | 94 | Service::setParameter($param, $input->getOption($param)); |
| 95 | 95 | } |
@@ -218,8 +218,12 @@ |
||
| 218 | 218 | $exclusions, FileExplorer::$vcsPatterns, array(Configuration::CACHE_FOLDER) |
| 219 | 219 | )) |
| 220 | 220 | ->setIterator($fileExplorer->getExplorer()) |
| 221 | - ->addListener(Create::NAME, function ($e) { $this->watchListenerFunction($e); }) |
|
| 222 | - ->addListener(Modify::NAME, function ($e) { $this->watchListenerFunction($e); }) |
|
| 221 | + ->addListener(Create::NAME, function ($e) |
|
| 222 | + { |
|
| 223 | +$this->watchListenerFunction($e); }) |
|
| 224 | + ->addListener(Modify::NAME, function ($e) |
|
| 225 | + { |
|
| 226 | +$this->watchListenerFunction($e); }) |
|
| 223 | 227 | ; |
| 224 | 228 | |
| 225 | 229 | $this->output->writeln('Watch started successfully'); |