@@ -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 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Mathielen\ImportEngine\Storage\LocalFileStorage; |
15 | 15 | use Mathielen\ImportEngine\Storage\StorageInfo; |
16 | 16 | use Mathielen\ImportEngine\ValueObject\ImportConfiguration; |
17 | -use Mathielen\ImportEngine\ValueObject\ImportRun; |
|
18 | 17 | use Symfony\Component\EventDispatcher\EventDispatcher; |
19 | 18 | |
20 | 19 | class DoctrineTest extends \PHPUnit_Framework_TestCase |
@@ -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 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return null|string |
|
45 | + * @return integer|null |
|
46 | 46 | */ |
47 | 47 | public function findImporterForStorage(StorageInterface $storage) |
48 | 48 | { |
@@ -104,6 +104,7 @@ discard block |
||
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
107 | + * @param string $createdBy |
|
107 | 108 | * @return Import |
108 | 109 | * |
109 | 110 | * @throws InvalidConfigurationException |
@@ -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) |
@@ -75,6 +75,7 @@ discard block |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | /** |
78 | + * @param boolean $allowExtraFields |
|
78 | 79 | * @return ValidatorFilter |
79 | 80 | */ |
80 | 81 | public function setAllowExtraFields($allowExtraFields) |
@@ -85,6 +86,7 @@ discard block |
||
85 | 86 | } |
86 | 87 | |
87 | 88 | /** |
89 | + * @param boolean $allowMissingFields |
|
88 | 90 | * @return ValidatorFilter |
89 | 91 | */ |
90 | 92 | public function setAllowMissingFields($allowMissingFields) |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * @return Import |
|
97 | + * @return \Mathielen\ImportEngine\ValueObject\ImportRun |
|
98 | 98 | */ |
99 | 99 | public function dryRun(Import $import) |
100 | 100 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | } |
107 | 107 | |
108 | 108 | /** |
109 | - * @return Import |
|
109 | + * @return \Mathielen\ImportEngine\ValueObject\ImportRun |
|
110 | 110 | */ |
111 | 111 | public function run(Import $import) |
112 | 112 | { |