@@ -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; |
@@ -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 | { |
@@ -216,7 +216,7 @@ |
||
| 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 | { |
@@ -163,6 +163,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -373,7 +373,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -68,7 +68,7 @@ |
||
| 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 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 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 |
||
| 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 | { |