Completed
Pull Request — master (#99)
by Spuds
02:24
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/elkarte1.0/smf2-0_importer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
 		return 'members';
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param string $name
57
+	 */
55 58
 	protected function fetchSetting($name)
56 59
 	{
57 60
 		static $content = null;
Please login to merge, or discard this patch.
importer/Importers/elkarte1.0/smf2-1_importer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
 		return 'members';
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param string $name
57
+	 */
55 58
 	protected function fetchSetting($name)
56 59
 	{
57 60
 		static $content = null;
Please login to merge, or discard this patch.
importer/Importers/elkarte1.0/wedge_importer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
 		return 'members';
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param string $name
55
+	 */
53 56
 	protected function fetchSetting($name)
54 57
 	{
55 58
 		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/smf2-0_importer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
49 49
 		return 'members';
50 50
 	}
51 51
 
52
+	/**
53
+	 * @param string $name
54
+	 */
52 55
 	protected function fetchSetting($name)
53 56
 	{
54 57
 		static $content = null;
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.