@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | /** |
350 | 350 | * @param string $sku |
351 | 351 | * |
352 | - * @return \Orm\Zed\Product\Persistence\SpyProductAbstract |
|
352 | + * @return integer |
|
353 | 353 | */ |
354 | 354 | protected function createProductAbstract($sku) |
355 | 355 | { |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | } |
391 | 391 | |
392 | 392 | /** |
393 | - * @return \Generated\Shared\Transfer\ProductOptionValueTransfer |
|
393 | + * @return null|ProductOptionValueTransfer |
|
394 | 394 | */ |
395 | 395 | protected function createProductOptionValueTransfer() |
396 | 396 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param array $productRelationCollection |
|
73 | + * @param \Generated\Shared\Transfer\StorageProductRelationsTransfer[] $productRelationCollection |
|
74 | 74 | * |
75 | 75 | * @return \Generated\Shared\Transfer\StorageProductRelationsTransfer|null |
76 | 76 | */ |
@@ -207,7 +207,7 @@ |
||
207 | 207 | /** |
208 | 208 | * @param array $item |
209 | 209 | * |
210 | - * @return array |
|
210 | + * @return string[] |
|
211 | 211 | */ |
212 | 212 | protected function buildActions(array $item) |
213 | 213 | { |
@@ -310,7 +310,7 @@ |
||
310 | 310 | /** |
311 | 311 | * @param \Orm\Zed\ProductReview\Persistence\SpyProductReview $productReviewEntity |
312 | 312 | * |
313 | - * @return mixed |
|
313 | + * @return string |
|
314 | 314 | */ |
315 | 315 | protected function getProductName(SpyProductReview $productReviewEntity) |
316 | 316 | { |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | |
221 | 221 | /** |
222 | 222 | * @param \Generated\Shared\Transfer\ProductSearchAttributeTransfer $productSearchAttributeTransfer |
223 | - * @param \Generated\Shared\Transfer\ProductAttributeKeyTransfer $productAttributeKeyTransfer |
|
223 | + * @param ProductAttributeKeyTransfer|null $productAttributeKeyTransfer |
|
224 | 224 | * |
225 | 225 | * @return \Generated\Shared\Transfer\ProductSearchAttributeTransfer |
226 | 226 | */ |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | |
239 | 239 | /** |
240 | 240 | * @param \Generated\Shared\Transfer\ProductSearchAttributeTransfer $productSearchAttributeTransfer |
241 | - * @param \Generated\Shared\Transfer\ProductAttributeKeyTransfer $productAttributeKeyTransfer |
|
241 | + * @param ProductAttributeKeyTransfer|null $productAttributeKeyTransfer |
|
242 | 242 | * |
243 | 243 | * @return \Generated\Shared\Transfer\ProductSearchAttributeTransfer |
244 | 244 | */ |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | } |
259 | 259 | |
260 | 260 | /** |
261 | - * @param \Generated\Shared\Transfer\ProductAttributeKeyTransfer $productAttributeKeyTransfer |
|
261 | + * @param ProductAttributeKeyTransfer|null $productAttributeKeyTransfer |
|
262 | 262 | * |
263 | 263 | * @return void |
264 | 264 | */ |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @param \Generated\Shared\Transfer\ProductSetTransfer $productSetTransfer |
|
85 | + * @param ProductSetTransfer|null $productSetTransfer |
|
86 | 86 | * |
87 | 87 | * @return array |
88 | 88 | */ |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
102 | - * @param \Generated\Shared\Transfer\ProductSetTransfer $productSetTransfer |
|
102 | + * @param ProductSetTransfer|null $productSetTransfer |
|
103 | 103 | * |
104 | 104 | * @return array |
105 | 105 | */ |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
145 | - * @param \Generated\Shared\Transfer\ProductSetTransfer $productSetTransfer |
|
145 | + * @param ProductSetTransfer|null $productSetTransfer |
|
146 | 146 | * |
147 | 147 | * @return array |
148 | 148 | */ |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | } |
200 | 200 | |
201 | 201 | /** |
202 | - * @param \Generated\Shared\Transfer\ProductSetTransfer $productSetTransfer |
|
202 | + * @param ProductSetTransfer|null $productSetTransfer |
|
203 | 203 | * |
204 | 204 | * @return array |
205 | 205 | */ |
@@ -123,7 +123,7 @@ |
||
123 | 123 | /** |
124 | 124 | * @param \Symfony\Component\Finder\SplFileInfo[] $schemaFiles |
125 | 125 | * |
126 | - * @return \SimpleXMLElement[] |
|
126 | + * @return ArrayObject |
|
127 | 127 | */ |
128 | 128 | private function createSchemaXmlElements(array $schemaFiles) |
129 | 129 | { |
@@ -168,7 +168,7 @@ |
||
168 | 168 | } |
169 | 169 | } |
170 | 170 | |
171 | - $callback = function ($a) { |
|
171 | + $callback = function($a) { |
|
172 | 172 | $multiplier = (strlen($a[1]) / 2) * 4; |
173 | 173 | |
174 | 174 | return str_repeat(' ', $multiplier) . '<'; |
@@ -60,7 +60,7 @@ |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @param array $methods |
|
63 | + * @param string[] $methods |
|
64 | 64 | * |
65 | 65 | * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\Propel\Business\Model\PropelDatabase\PostgreSqlDatabaseCreator |
66 | 66 | */ |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * @param \Spryker\Zed\Queue\Business\Process\ProcessManagerInterface $processManager |
48 | 48 | * @param \Spryker\Zed\Queue\QueueConfig $queueConfig |
49 | 49 | * @param \Spryker\Zed\Queue\Business\Worker\WorkerProgressBarInterface $workerProgressBar |
50 | - * @param array $queueNames |
|
50 | + * @param integer[] $queueNames |
|
51 | 51 | */ |
52 | 52 | public function __construct( |
53 | 53 | ProcessManagerInterface $processManager, |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | /** |
65 | 65 | * @param string $command |
66 | 66 | * @param int $round |
67 | - * @param array $processes |
|
67 | + * @param \Symfony\Component\Process\Process[] $processes |
|
68 | 68 | * |
69 | 69 | * @return void |
70 | 70 | */ |
@@ -142,7 +142,7 @@ |
||
142 | 142 | foreach ($this->queueNames as $queue) { |
143 | 143 | $processCommand = sprintf('%s %s >> %s', $command, $queue, $this->queueConfig->getQueueWorkerOutputFileName()); |
144 | 144 | $queueProcesses = $this->startProcesses($processCommand, $queue); |
145 | - $processes = array_merge($processes, $queueProcesses[self::PROCESSES_INTSTANCES]); |
|
145 | + $processes = array_merge($processes, $queueProcesses[self::PROCESSES_INTSTANCES]); |
|
146 | 146 | |
147 | 147 | $this |
148 | 148 | ->workerProgressBar |