@@ -557,7 +557,7 @@ |
||
| 557 | 557 | $this->fh = fopen($filename = $this->getPidFilename(), 'a+'); |
| 558 | 558 | |
| 559 | 559 | // try to lock the PID file exclusive |
| 560 | - if (!flock($this->fh, LOCK_EX|LOCK_NB)) { |
|
| 560 | + if (!flock($this->fh, LOCK_EX | LOCK_NB)) { |
|
| 561 | 561 | throw new ImportAlreadyRunningException(sprintf('PID file %s is already in use', $filename)); |
| 562 | 562 | } |
| 563 | 563 | |
@@ -362,7 +362,7 @@ |
||
| 362 | 362 | /** |
| 363 | 363 | * Return's the module instances. |
| 364 | 364 | * |
| 365 | - * @return \Traversable The module instances |
|
| 365 | + * @return \TechDivision\Import\Modules\ModuleInterface[] The module instances |
|
| 366 | 366 | */ |
| 367 | 367 | public function getModules() |
| 368 | 368 | { |
@@ -18,10 +18,6 @@ |
||
| 18 | 18 | * @link http://www.techdivision.com |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | -use Lurker\Event\FilesystemEvent; |
|
| 22 | - |
|
| 23 | -use Symfony\Component\Finder\Finder; |
|
| 24 | - |
|
| 25 | 21 | /** |
| 26 | 22 | * Defines the available build tasks. |
| 27 | 23 | * |