Passed
Push — master ( bf1436...51e602 )
by Spuds
51s queued 11s
created
importer/Importers/elkarte1.0/smf1-1_importer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
 		return 'members';
46 46
 	}
47 47
 
48
+	/**
49
+	 * @param string $name
50
+	 */
48 51
 	protected function fetchSetting($name)
49 52
 	{
50 53
 		static $content = null;
Please login to merge, or discard this patch.
importer/Importers/SmfCommonSource.php 1 patch
Doc Comments   +13 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	 *
101 101
 	 * @param $path
102 102
 	 *
103
-	 * @return bool|string
103
+	 * @return false|string
104 104
 	 */
105 105
 	public function getDestinationURL($path)
106 106
 	{
@@ -149,6 +149,9 @@  discard block
 block discarded – undo
149 149
 		return array($db_server, $db_user, $db_passwd, $db_persist, $db_prefix, $db_name);
150 150
 	}
151 151
 
152
+	/**
153
+	 * @param string $name
154
+	 */
152 155
 	protected function fetchSetting($name)
153 156
 	{
154 157
 		static $content = null;
@@ -349,7 +352,7 @@  discard block
 block discarded – undo
349 352
 	 *
350 353
 	 * @param string[] $folders
351 354
 	 *
352
-	 * @return bool
355
+	 * @return false|null
353 356
 	 */
354 357
 	protected function createAttachFoldersStructure($folders)
355 358
 	{
@@ -384,7 +387,7 @@  discard block
 block discarded – undo
384 387
 	 *
385 388
 	 * @param string[] $folders
386 389
 	 *
387
-	 * @return bool|string
390
+	 * @return string|false
388 391
 	 */
389 392
 	protected function guessBase($folders)
390 393
 	{
@@ -410,6 +413,10 @@  discard block
 block discarded – undo
410 413
 		return false;
411 414
 	}
412 415
 
416
+	/**
417
+	 * @param string $dir
418
+	 * @param string[] $folders
419
+	 */
413 420
 	protected function isCommon($dir, $folders)
414 421
 	{
415 422
 		foreach ($folders as $folder)
@@ -577,6 +584,9 @@  discard block
 block discarded – undo
577 584
 		}
578 585
 	}
579 586
 
587
+	/**
588
+	 * @param string $where
589
+	 */
580 590
 	protected function setBoardProperty($board, $property, $where = null)
581 591
 	{
582 592
 		$to_prefix = $this->config->to_prefix;
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
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
  *
70 70
  * @param string $message
71 71
  *
72
- * @return mixed|string
72
+ * @return string
73 73
  */
74 74
 function phpbb_replace_bbc($message)
75 75
 {
Please login to merge, or discard this patch.
importer/Importers/wedge0.1/vbulletin4_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/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/Importer.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,6 +163,9 @@  discard block
 block discarded – undo
163 163
 			$this->_loadImporter(BASEDIR . DS . 'Importers' . DS . $this->config->script);
164 164
 	}
165 165
 
166
+	/**
167
+	 * @param string $file
168
+	 */
166 169
 	protected function _loadImporter($file)
167 170
 	{
168 171
 		$this->_preparse_xml($file);
@@ -525,7 +528,7 @@  discard block
 block discarded – undo
525 528
 	 * destination system.
526 529
 	 *
527 530
 	 * @param int $do_steps
528
-	 * @return boolean
531
+	 * @return boolean|null
529 532
 	 */
530 533
 	public function doStep1($do_steps)
531 534
 	{
@@ -589,7 +592,7 @@  discard block
 block discarded – undo
589 592
 	 *
590 593
 	 * @global Database $db
591 594
 	 * @global type $boardurl
592
-	 * @return boolean
595
+	 * @return boolean|null
593 596
 	 */
594 597
 	public function doStep3()
595 598
 	{
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/SplClassLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     /**
69 69
      * Gets the namespace seperator used by classes in the namespace of this class loader.
70 70
      *
71
-     * @return void
71
+     * @return string
72 72
      */
73 73
     public function getNamespaceSeparator()
74 74
     {
Please login to merge, or discard this patch.