@@ -40,7 +40,7 @@ |
||
40 | 40 | * ExecuteExcelFileAction constructor. |
41 | 41 | * |
42 | 42 | * @param \App\Containers\Excel\Tasks\FindExcelFileByIdTask $findExcelFileByIdTask |
43 | - * @param \App\Containers\Order\Actions\MakeOrdersFromExcelAction|\App\Containers\Order\Tasks\MakeOrdersFromExcelAction $makeOrdersFromExcelAction |
|
43 | + * @param MakeOrdersFromExcelAction $makeOrdersFromExcelAction |
|
44 | 44 | * @param \App\Containers\Excel\Tasks\GetExcelFileDataTask $getExcelFileDataTask |
45 | 45 | * @param \App\Containers\Excel\Actions\CreateExcelMapperAction $createExcelMapperAction |
46 | 46 | */ |
@@ -75,7 +75,7 @@ |
||
75 | 75 | $wrongRows = $this->makeOrdersFromExcelAction->run($user, $excelData, $map, $storeId); |
76 | 76 | |
77 | 77 | // if mapper name is set than create the mapper |
78 | - if($mapperName){ |
|
78 | + if ($mapperName) { |
|
79 | 79 | $this->createExcelMapperAction->run($map, $mapperName, $user->id, $mapperNote); |
80 | 80 | } |
81 | 81 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @param \SplFileInfo $file |
19 | 19 | * |
20 | - * @return mixed |
|
20 | + * @return string |
|
21 | 21 | */ |
22 | 22 | public function run(SplFileInfo $file) |
23 | 23 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use App\Containers\Excel\Actions\ExecuteExcelFileAction; |
6 | 6 | use App\Containers\Excel\Actions\ListUserExcelMappersAction; |
7 | 7 | use App\Containers\Excel\Actions\UploadExcelFileAction; |
8 | -use App\Containers\Excel\Actions\UploadExcelMappersAction; |
|
9 | 8 | use App\Containers\Excel\UI\API\Requests\ExecuteExcelFileRequest; |
10 | 9 | use App\Containers\Excel\UI\API\Requests\ListUserExcelMappersRequest; |
11 | 10 | use App\Containers\Excel\UI\API\Requests\UploadExcelFileRequest; |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * @param \App\Containers\Excel\Models\ExcelFile $excelFile |
22 | 22 | * @param null $excelFileColumns |
23 | 23 | * @param \App\Containers\Excel\Models\ExcelMapper|null $excelMapper |
24 | - * @param \App\Containers\Excel\Models\ExcelField|null $excelField |
|
24 | + * @param \App\Containers\Excel\Models\ExcelField|null $excelFields |
|
25 | 25 | * |
26 | 26 | * @return array |
27 | 27 | */ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * CreateIntegrationAction constructor. |
24 | 24 | * |
25 | - * @param \App\Containers\Artwork\Actions\CreateIntegrationTask $createIntegrationTask |
|
25 | + * @param CreateIntegrationTask $createIntegrationTask |
|
26 | 26 | */ |
27 | 27 | public function __construct(CreateIntegrationTask $createIntegrationTask) |
28 | 28 | { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * CreatePlatformAction constructor. |
23 | 23 | * |
24 | - * @param \App\Containers\Artwork\Actions\CreatePlatformTask $createPlatformTask |
|
24 | + * @param CreatePlatformTask $createPlatformTask |
|
25 | 25 | */ |
26 | 26 | public function __construct(CreatePlatformTask $createPlatformTask) |
27 | 27 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace App\Containers\Integration\UI\API\Controllers; |
4 | 4 | |
5 | 5 | use App\Containers\Integration\Actions\CreateIntegrationAction; |
6 | -use App\Containers\Integration\Actions\ListAllIntegrationsAction; |
|
7 | 6 | use App\Containers\Integration\Actions\ListAllPlatformsAction; |
8 | 7 | use App\Containers\Integration\Actions\ListUserIntegrationsAction; |
9 | 8 | use App\Containers\Integration\UI\API\Requests\CreateIntegrationRequest; |
@@ -22,7 +22,6 @@ |
||
22 | 22 | ]; |
23 | 23 | |
24 | 24 | /** |
25 | - * @param \App\Containers\User\Models\User $user |
|
26 | 25 | * |
27 | 26 | * @return array |
28 | 27 | */ |
@@ -113,7 +113,6 @@ |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
116 | - * @param \App\Containers\Item\Models\ItemType $itemType |
|
117 | 116 | * |
118 | 117 | * @return array [] |
119 | 118 | */ |
@@ -157,11 +157,11 @@ |
||
157 | 157 | return [ |
158 | 158 | 'item_type_id' => $itemType->getHashedKey(), |
159 | 159 | 'variants_values_ids' => [ |
160 | - $itemVariantName1->id = [ // wtf is this $itemVariantName1->id !!! |
|
160 | + $itemVariantName1->id = [// wtf is this $itemVariantName1->id !!! |
|
161 | 161 | $itemVariantValue11->getHashedKey(), |
162 | 162 | $itemVariantValue12->getHashedKey(), |
163 | 163 | ], |
164 | - $itemVariantName2->id = [ // wtf is this $itemVariantName2->id !!! |
|
164 | + $itemVariantName2->id = [// wtf is this $itemVariantName2->id !!! |
|
165 | 165 | $itemVariantValue21->getHashedKey(), |
166 | 166 | $itemVariantValue22->getHashedKey() |
167 | 167 | ], |