Completed
Pull Request — master (#7)
by
unknown
05:01
created
Controller/Common/Product/Import/Csv/Processor/Catalog/StandardTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -321,6 +321,7 @@
 block discarded – undo
321 321
 
322 322
 	/**
323 323
 	 * @param string $code
324
+	 * @return \Aimeos\MShop\Catalog\Item\Iface
324 325
 	 */
325 326
 	protected function get( $code )
326 327
 	{
Please login to merge, or discard this patch.
common/src/Controller/Common/Coupon/Import/Csv/Processor/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 	 * Initializes the object
30 30
 	 *
31 31
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object
32
-	 * @param array $mapping Associative list of field position in CSV as key and domain item key as value
32
+	 * @param string[] $mapping Associative list of field position in CSV as key and domain item key as value
33 33
 	 * @param \Aimeos\Controller\Common\Coupon\Import\Csv\Processor\Iface $object Decorated processor
34 34
 	 */
35 35
 	public function __construct( \Aimeos\MShop\Context\Item\Iface $context, array $mapping,
Please login to merge, or discard this patch.
common/src/Controller/Common/Catalog/Import/Csv/Processor/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 	 *
134 134
 	 * @param array $list Associative list of key/value pairs
135 135
 	 * @param string $key Key for the value to retrieve
136
-	 * @param mixed $default Default value if key isn't found
136
+	 * @param string $default Default value if key isn't found
137 137
 	 * @param mixed Value for the key in the list of the default value
138 138
 	 */
139 139
 	protected function getValue( array $list, $key, $default )
Please login to merge, or discard this patch.
controller/jobs/tests/Controller/Jobs/Catalog/Import/Csv/StandardTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -248,6 +248,9 @@
 block discarded – undo
248 248
 	}
249 249
 
250 250
 
251
+	/**
252
+	 * @param string $catcode
253
+	 */
251 254
 	protected function get( $catcode, array $domains = [] )
252 255
 	{
253 256
 		$manager = \Aimeos\MShop\Catalog\Manager\Factory::createManager( $this->context );
Please login to merge, or discard this patch.
controller/common/tests/Controller/Common/Product/Import/Csv/TraitsTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -115,6 +115,10 @@  discard block
 block discarded – undo
115 115
 		return \TestHelperCntl::getContext();
116 116
 	}
117 117
 
118
+	/**
119
+	 * @param string $type
120
+	 * @param string $name
121
+	 */
118 122
 	public function getCachePublic( $type, $name = null )
119 123
 	{
120 124
 		return $this->getCache( $type, $name );
@@ -127,6 +131,11 @@  discard block
 block discarded – undo
127 131
 	}
128 132
 
129 133
 
134
+	/**
135
+	 * @param string $path
136
+	 * @param string $domain
137
+	 * @param string $code
138
+	 */
130 139
 	public function getTypeIdPublic( $path, $domain, $code )
131 140
 	{
132 141
 		return $this->getTypeId( $path, $domain, $code );
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Product/Export/Sitemap/Standard.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@
 block discarded – undo
297 297
 	 * Adds the content for the site map index file
298 298
 	 *
299 299
 	 * @param \Aimeos\MW\Container\Iface $container File container object
300
-	 * @param array $files List of generated site map file names
300
+	 * @param string[] $files List of generated site map file names
301 301
 	 */
302 302
 	protected function createSitemapIndex( \Aimeos\MW\Container\Iface $container, array $files )
303 303
 	{
Please login to merge, or discard this patch.
controller/jobs/src/Controller/Jobs/Product/Export/Standard.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@
 block discarded – undo
275 275
 	 *
276 276
 	 * @param \Aimeos\MW\Container\Iface $container Container object
277 277
 	 * @param boolean $default True to filter exported products by default criteria
278
-	 * @return array List of content (file) names
278
+	 * @return string[] List of content (file) names
279 279
 	 */
280 280
 	protected function export( \Aimeos\MW\Container\Iface $container, $default = true )
281 281
 	{
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -288,19 +288,19 @@
 block discarded – undo
288 288
 		$start = 0; $filenum = 1;
289 289
 		$names = [];
290 290
 
291
-        	$indexManager = \Aimeos\MShop\Index\Manager\Factory::createManager($this->getContext());
292
-
293
-       		$search = $indexManager->createSearch($default);
294
-        	$search->setSlice(0, $maxQuery);
295
-        	$search->setConditions(
296
-           		$search->compare('!=', 'index.catalog.id', null)
297
-        	);
298
-        	$search->setSortations(
299
-                	[$search->sort('+', 'product.id')]
300
-        	);
301
-
302
-        	$content = $this->createContent($container, $filenum);
303
-        	$names[] = basename($content->getResource());
291
+			$indexManager = \Aimeos\MShop\Index\Manager\Factory::createManager($this->getContext());
292
+
293
+	   		$search = $indexManager->createSearch($default);
294
+			$search->setSlice(0, $maxQuery);
295
+			$search->setConditions(
296
+		   		$search->compare('!=', 'index.catalog.id', null)
297
+			);
298
+			$search->setSortations(
299
+					[$search->sort('+', 'product.id')]
300
+			);
301
+
302
+			$content = $this->createContent($container, $filenum);
303
+			$names[] = basename($content->getResource());
304 304
 
305 305
 		do
306 306
 		{
Please login to merge, or discard this patch.