Passed
Push — instructions ( dcda7b )
by Emanuele
02:24
created
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/Importers/wedge0.1/phpbb3_importer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
  *
52 52
  * @param string $content
53 53
  *
54
- * @return mixed|string
54
+ * @return string
55 55
  */
56 56
 function vb4_replace_bbc($content)
57 57
 {
Please login to merge, or discard this patch.
importer/OpenImporter/XmlProcessor.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -230,6 +230,9 @@  discard block
 block discarded – undo
230 230
 		}
231 231
 	}
232 232
 
233
+	/**
234
+	 * @param string $current_data
235
+	 */
233 236
 	protected function fixCurrentData($current_data)
234 237
 	{
235 238
 		if (strpos($current_data, '{$') !== false)
@@ -240,6 +243,9 @@  discard block
 block discarded – undo
240 243
 		return $current_data;
241 244
 	}
242 245
 
246
+	/**
247
+	 * @param string $special_table
248
+	 */
243 249
 	protected function insertRows($special_table)
244 250
 	{
245 251
 		// Nothing to insert?
@@ -272,6 +278,10 @@  discard block
 block discarded – undo
272 278
 				(', $insert_rows) . ")");
273 279
 	}
274 280
 
281
+	/**
282
+	 * @param null|string $special_code
283
+	 * @param string $special_table
284
+	 */
275 285
 	protected function prepareRow($special_code, $special_table)
276 286
 	{
277 287
 		// Take case of preparsecode
@@ -416,7 +426,7 @@  discard block
 block discarded – undo
416 426
 
417 427
 	/**
418 428
 	 * Process a <detect> statement
419
-	 * @param $substep
429
+	 * @param integer $substep
420 430
 	 */
421 431
 	protected function doDetect($substep)
422 432
 	{
Please login to merge, or discard this patch.