@@ -45,6 +45,9 @@ |
||
| 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; |
@@ -52,6 +52,9 @@ |
||
| 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; |
@@ -52,6 +52,9 @@ |
||
| 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; |
@@ -50,6 +50,9 @@ |
||
| 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; |
@@ -100,7 +100,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -69,7 +69,7 @@ |
||
| 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 | { |
@@ -49,6 +49,9 @@ |
||
| 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; |
@@ -51,7 +51,7 @@ |
||
| 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 | { |
@@ -53,7 +53,7 @@ |
||
| 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 | { |