@@ -29,7 +29,7 @@ |
||
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @return \Ddeboer\DataImport\Workflow |
|
| 32 | + * @return integer |
|
| 33 | 33 | */ |
| 34 | 34 | private function buildBaseWorkflow(Import $import) |
| 35 | 35 | { |
@@ -22,6 +22,8 @@ |
||
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | + * @param string $from |
|
| 26 | + * @param string $converter |
|
| 25 | 27 | * @return Mappings |
| 26 | 28 | */ |
| 27 | 29 | public function add($from, $to, $converter=null) |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Mathielen\ImportEngine\Storage\LocalFileStorage; |
| 13 | 13 | use Mathielen\ImportEngine\Storage\StorageInfo; |
| 14 | 14 | use Mathielen\ImportEngine\ValueObject\ImportConfiguration; |
| 15 | -use Mathielen\ImportEngine\ValueObject\ImportRun; |
|
| 16 | 15 | |
| 17 | 16 | class LocalFileTest extends \PHPUnit_Framework_TestCase |
| 18 | 17 | { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * @return null|string |
|
| 46 | + * @return integer|null |
|
| 47 | 47 | */ |
| 48 | 48 | public function findImporterForStorage(StorageInterface $storage) |
| 49 | 49 | { |
@@ -104,6 +104,7 @@ discard block |
||
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | + * @param string $createdBy |
|
| 107 | 108 | * @return Import |
| 108 | 109 | * @throws InvalidConfigurationException |
| 109 | 110 | */ |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use Mathielen\ImportEngine\Event\ImportConfigureEvent; |
| 12 | 12 | use Mathielen\ImportEngine\ValueObject\ImportRequest; |
| 13 | 13 | use Mathielen\ImportEngine\ValueObject\ImportRun; |
| 14 | -use Mathielen\ImportEngine\ValueObject\StorageSelection; |
|
| 15 | 14 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 16 | 15 | |
| 17 | 16 | class ImportBuilder |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Mathielen\ImportEngine\Storage\LocalFileStorage; |
| 13 | 13 | use Mathielen\ImportEngine\Storage\StorageInfo; |
| 14 | 14 | use Mathielen\ImportEngine\ValueObject\ImportConfiguration; |
| 15 | -use Mathielen\ImportEngine\ValueObject\ImportRun; |
|
| 16 | 15 | |
| 17 | 16 | class LocalFileTest extends \PHPUnit_Framework_TestCase |
| 18 | 17 | { |
@@ -54,6 +54,9 @@ |
||
| 54 | 54 | ); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | + /** |
|
| 58 | + * @param ImportRun $importRun |
|
| 59 | + */ |
|
| 57 | 60 | private function createEvent($importRun=null) |
| 58 | 61 | { |
| 59 | 62 | return new ImportProcessEvent( |
@@ -47,6 +47,9 @@ |
||
| 47 | 47 | ); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param ImportRun $importRun |
|
| 52 | + */ |
|
| 50 | 53 | private function createEvent($importRun=null) |
| 51 | 54 | { |
| 52 | 55 | return new ImportProcessEvent( |