Completed
Push — updates ( 690025 )
by Emanuele
02:26
created
importer/Importers/wedge0.1/wbb3_importer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
  *
54 54
  * @param string $message
55 55
  *
56
- * @return mixed
56
+ * @return string
57 57
  */
58 58
 function wbb_replace_bbc($message)
59 59
 {
Please login to merge, or discard this patch.
importer/OpenImporter/Database.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
 	 * @param string $table_name
217 217
 	 * @param mixed[] $index_info
218 218
 	 *
219
-	 * @return bool
219
+	 * @return false|null
220 220
 	 */
221 221
 	public function add_index($table_name, $index_info)
222 222
 	{
Please login to merge, or discard this patch.
importer/OpenImporter/ImportManager.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
 	 *
374 374
 	 * @param string $script
375 375
 	 *
376
-	 * @return bool|mixed
376
+	 * @return string|false
377 377
 	 */
378 378
 	protected function validateScript($script)
379 379
 	{
@@ -520,6 +520,9 @@  discard block
 block discarded – undo
520 520
 		return null;
521 521
 	}
522 522
 
523
+	/**
524
+	 * @param Form $form
525
+	 */
523 526
 	protected function _prepareStep0Form($form)
524 527
 	{
525 528
 		$form->action_url = $_SERVER['PHP_SELF'] . '?step=1';
@@ -579,7 +582,7 @@  discard block
 block discarded – undo
579 582
 	/**
580 583
 	 * Show the progress being made in step 1, the main import process
581 584
 	 *
582
-	 * @return array
585
+	 * @return integer
583 586
 	 */
584 587
 	protected function step1Progress()
585 588
 	{
Please login to merge, or discard this patch.
importer/OpenImporter/Template.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 	 *
49 49
 	 * @param string $error_message
50 50
 	 * @param int|bool $trace
51
-	 * @param int|bool $line
51
+	 * @param integer $line
52 52
 	 * @param string|bool $file
53 53
 	 */
54 54
 	public function error($error_message, $trace = false, $line = false, $file = false)
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
 
698 698
 	/**
699 699
 	 * Function to generate a form from a set of form options
700
-	 * @param $form
700
+	 * @param Form $form
701 701
 	 */
702 702
 	public function renderForm($form)
703 703
 	{
Please login to merge, or discard this patch.
importer/OpenImporter/XmlProcessor.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -212,6 +212,9 @@  discard block
 block discarded – undo
212 212
 		}
213 213
 	}
214 214
 
215
+	/**
216
+	 * @param string $current_data
217
+	 */
215 218
 	protected function fixCurrentData($current_data)
216 219
 	{
217 220
 		if (strpos($current_data, '{$') !== false)
@@ -222,6 +225,9 @@  discard block
 block discarded – undo
222 225
 		return $current_data;
223 226
 	}
224 227
 
228
+	/**
229
+	 * @param string $special_table
230
+	 */
225 231
 	protected function insertRows($rows, $keys, $special_table)
226 232
 	{
227 233
 		if (empty($rows))
@@ -252,6 +258,10 @@  discard block
 block discarded – undo
252 258
 				(', $insert_rows) . ")");
253 259
 	}
254 260
 
261
+	/**
262
+	 * @param null|string $special_code
263
+	 * @param string $special_table
264
+	 */
255 265
 	protected function prepareRow($row, $special_code, $special_table)
256 266
 	{
257 267
 		// Take case of preparsecode
@@ -394,6 +404,9 @@  discard block
 block discarded – undo
394 404
 		$_SESSION['import_steps'][$substep]['presql'] = true;
395 405
 	}
396 406
 
407
+	/**
408
+	 * @param integer $substep
409
+	 */
397 410
 	protected function doDetect($substep)
398 411
 	{
399 412
 		global $oi_import;
@@ -431,6 +444,9 @@  discard block
 block discarded – undo
431 444
 		return false;
432 445
 	}
433 446
 
447
+	/**
448
+	 * @param string $table
449
+	 */
434 450
 	protected function detect($table)
435 451
 	{
436 452
 		$table = $this->fix_params($table);
Please login to merge, or discard this patch.