Completed
Push — master ( cbc921...0b1729 )
by Aimeos
02:05
created
controller/jobs/src/Controller/Jobs/Product/Export/Standard.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@
 block discarded – undo
326 326
 	 *
327 327
 	 * @param string $name One of "domain", "max-items" or "max-query"
328 328
 	 * @param mixed $default Default value if name is unknown
329
-	 * @return mixed Configuration value
329
+	 * @return string Configuration value
330 330
 	 */
331 331
 	protected function getConfig( $name, $default = null )
332 332
 	{
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::create( $this->context );
Please login to merge, or discard this patch.
controller/jobs/tests/Perf/Product/Import/Csv/StandardTest.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
 	}
74 74
 
75 75
 
76
+	/**
77
+	 * @param integer $cnt
78
+	 */
76 79
 	protected function addAttribute( array $data, $cnt )
77 80
 	{
78 81
 		$data[] = 'length'; // type
@@ -86,6 +89,9 @@  discard block
 block discarded – undo
86 89
 	}
87 90
 
88 91
 
92
+	/**
93
+	 * @param integer $cnt
94
+	 */
89 95
 	protected function addMedia( array $data, $cnt )
90 96
 	{
91 97
 		$data[] = "/path/to/image-$cnt.jpg"; // url
@@ -94,6 +100,9 @@  discard block
 block discarded – undo
94 100
 	}
95 101
 
96 102
 
103
+	/**
104
+	 * @param integer $cnt
105
+	 */
97 106
 	protected function addPrice( array $data, $cnt )
98 107
 	{
99 108
 		$data[] = 1; // quantity
@@ -105,6 +114,9 @@  discard block
 block discarded – undo
105 114
 	}
106 115
 
107 116
 
117
+	/**
118
+	 * @param integer $cnt
119
+	 */
108 120
 	protected function addProduct( array $data, $cnt )
109 121
 	{
110 122
 		$data[] = 'import-' . $cnt; // code
@@ -116,6 +128,9 @@  discard block
 block discarded – undo
116 128
 	}
117 129
 
118 130
 
131
+	/**
132
+	 * @param integer $cnt
133
+	 */
119 134
 	protected function addProductRef( array $data, $cnt )
120 135
 	{
121 136
 		$data[] = 'import-' . ($cnt % 100); // code
@@ -125,6 +140,9 @@  discard block
 block discarded – undo
125 140
 	}
126 141
 
127 142
 
143
+	/**
144
+	 * @param integer $cnt
145
+	 */
128 146
 	protected function addProperty( array $data, $cnt )
129 147
 	{
130 148
 		$data[] = 'package-weight'; // type
@@ -134,6 +152,9 @@  discard block
 block discarded – undo
134 152
 	}
135 153
 
136 154
 
155
+	/**
156
+	 * @param integer $cnt
157
+	 */
137 158
 	protected function addText( array $data, $cnt )
138 159
 	{
139 160
 		$data[] = 'name'; // type
Please login to merge, or discard this patch.