@@ -63,7 +63,7 @@ |
||
| 63 | 63 | } |
| 64 | 64 | if (!empty($this->columns)) { |
| 65 | 65 | if ($span = $i % $this->columns) { |
| 66 | - $ret .= '<td colspan="'.($this->columns - $span).'"></td></tr>'; |
|
| 66 | + $ret .= '<td colspan="'.($this->columns-$span).'"></td></tr>'; |
|
| 67 | 67 | } |
| 68 | 68 | $ret .= '</table>'; |
| 69 | 69 | } |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | $nb_fieldSearch = count($fieldSearch); |
| 96 | 96 | $sql .= '('; |
| 97 | 97 | for ($i = 0; $i < $nb_fieldSearch; ++$i) { |
| 98 | - if ($i != $nb_fieldSearch - 1) { |
|
| 98 | + if ($i != $nb_fieldSearch-1) { |
|
| 99 | 99 | $sql .= ''.$fieldSearch[$i].' LIKE %$queryarray['.$options.']% OR '; |
| 100 | 100 | } else { |
| 101 | 101 | $sql .= ''.$fieldSearch[$i].' LIKE %$queryarray[0]%'; |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | /** |
| 75 | 75 | * @public function render |
| 76 | 76 | * @param null |
| 77 | - * @return bool|string |
|
| 77 | + * @return null|string |
|
| 78 | 78 | */ |
| 79 | 79 | public function render() |
| 80 | 80 | { |
@@ -59,8 +59,8 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * @public function write |
| 61 | 61 | * |
| 62 | - * @param $module |
|
| 63 | - * @param $filename |
|
| 62 | + * @param string $module |
|
| 63 | + * @param string $filename |
|
| 64 | 64 | */ |
| 65 | 65 | public function write($module, $filename) |
| 66 | 66 | { |
@@ -378,7 +378,7 @@ discard block |
||
| 378 | 378 | * |
| 379 | 379 | * @param null |
| 380 | 380 | * |
| 381 | - * @return bool|string |
|
| 381 | + * @return null|string |
|
| 382 | 382 | */ |
| 383 | 383 | public function render() |
| 384 | 384 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * @private function getPermissionsHeader |
| 75 | 75 | * |
| 76 | 76 | * @param $module |
| 77 | - * @param $language |
|
| 77 | + * @param string $language |
|
| 78 | 78 | * |
| 79 | 79 | * @return string |
| 80 | 80 | */ |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | /** |
| 111 | 111 | * @private function getPermissionsSwitch |
| 112 | 112 | * @param $moduleDirname |
| 113 | - * @param $language |
|
| 113 | + * @param string $language |
|
| 114 | 114 | * |
| 115 | 115 | * @return string |
| 116 | 116 | */ |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | * |
| 199 | 199 | * @param null |
| 200 | 200 | * |
| 201 | - * @return bool|string |
|
| 201 | + * @return null|string |
|
| 202 | 202 | */ |
| 203 | 203 | public function render() |
| 204 | 204 | { |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | * @public function getAdminTemplateMain |
| 60 | 60 | * @param $language |
| 61 | 61 | * @param $tableName |
| 62 | - * @param $stuTableSoleName |
|
| 62 | + * @param string $stuTableSoleName |
|
| 63 | 63 | * @param string $op |
| 64 | 64 | * @param string $type |
| 65 | 65 | * |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | 96 | * @public function getAxcAddInfoBox |
| 97 | - * @param $language |
|
| 97 | + * @param string $language |
|
| 98 | 98 | * |
| 99 | 99 | * @param string $t |
| 100 | 100 | * @return string |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * @public function getAxcAddInfoBoxLine |
| 109 | - * @param $language |
|
| 109 | + * @param string $language |
|
| 110 | 110 | * @param string $label |
| 111 | 111 | * @param string $var |
| 112 | 112 | * |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | 129 | * @public function getAxcAddConfigBoxLine |
| 130 | - * @param $language |
|
| 130 | + * @param string $language |
|
| 131 | 131 | * @param string $label |
| 132 | 132 | * @param string $var |
| 133 | 133 | * |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | /** |
| 236 | 236 | * @private function getAxcImageFileSetVar |
| 237 | 237 | * @param $moduleDirname |
| 238 | - * @param $dirname |
|
| 238 | + * @param string $dirname |
|
| 239 | 239 | * @param $tableName |
| 240 | 240 | * @param $fieldName |
| 241 | 241 | * @param bool $formatUrl |
@@ -327,8 +327,8 @@ discard block |
||
| 327 | 327 | /** |
| 328 | 328 | * @public function getAxcFetchMedia |
| 329 | 329 | * |
| 330 | - * @param $anchor |
|
| 331 | - * @param $var |
|
| 330 | + * @param string $anchor |
|
| 331 | + * @param string $var |
|
| 332 | 332 | * |
| 333 | 333 | * @param string $t |
| 334 | 334 | * @return string |
@@ -341,7 +341,7 @@ discard block |
||
| 341 | 341 | /** |
| 342 | 342 | * @public function getAxcSetPrefix |
| 343 | 343 | * |
| 344 | - * @param $anchor |
|
| 344 | + * @param string $anchor |
|
| 345 | 345 | * @param $var |
| 346 | 346 | * |
| 347 | 347 | * @param string $t |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | $ret .= $xCodeImageList->getXcMediaUploader('uploader', $xRootPath, $moduleDirname, $t); |
| 165 | 165 | $post = $pCodeImageList->getPhpCodeGlobalsVariables('xoops_upload_file', 'POST').'[0]'; |
| 166 | 166 | $fetchMedia = $this->getAxcFetchMedia('uploader', $post); |
| 167 | - $ifelse = $t."\t//" . $this->getAxcSetPrefix('uploader', "{$fieldName}_") . ";\n"; |
|
| 167 | + $ifelse = $t."\t//".$this->getAxcSetPrefix('uploader', "{$fieldName}_").";\n"; |
|
| 168 | 168 | $ifelse .= $t."\t//{$fetchMedia};\n"; |
| 169 | 169 | $contentElseInt = $xCodeImageList->getXcSetVar($tableName, $fieldName, '$uploader->getSavedFileName()', $t."\t\t"); |
| 170 | 170 | $contentIf = $xCodeImageList->getXcEqualsOperator('$errors', '$uploader->getErrors()', null, false, $t."\t\t"); |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | $ifelse = $pCodeUploadImage->getPhpCodePregFunzions('extension', $expr, '', $file, 'replace', false, $t."\t"); |
| 203 | 203 | |
| 204 | 204 | $ifelse .= $t."\t\$imgName = str_replace(' ', '', \$_POST['{$fieldMain}']).'.'.\$extension;\n"; |
| 205 | - $ifelse .= $this->getAxcSetPrefix('uploader', '$imgName', $t . "\t") . ";\n"; |
|
| 205 | + $ifelse .= $this->getAxcSetPrefix('uploader', '$imgName', $t."\t").";\n"; |
|
| 206 | 206 | $ifelse .= $t."\t{$fetchMedia};\n"; |
| 207 | 207 | $contentElseInt = $xCodeUploadImage->getXcSetVar($tableName, $fieldName, '$uploader->getSavedFileName()', $t."\t\t"); |
| 208 | 208 | $contentIf = $xCodeUploadImage->getXcEqualsOperator('$errors', '$uploader->getErrors()', null, false, $t."\t\t"); |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | public function getAxcUploadFileSetVar($moduleDirname, $tableName, $fieldName, $formatUrl = false, $t = '') |
| 228 | 228 | { |
| 229 | 229 | $stuModuleDirname = strtoupper($moduleDirname); |
| 230 | - $ret = $this->getAxcImageFileSetVar($moduleDirname, $stuModuleDirname . '_UPLOAD_FILES_PATH', $tableName, $fieldName, $formatUrl, $t); |
|
| 230 | + $ret = $this->getAxcImageFileSetVar($moduleDirname, $stuModuleDirname.'_UPLOAD_FILES_PATH', $tableName, $fieldName, $formatUrl, $t); |
|
| 231 | 231 | |
| 232 | 232 | return $ret; |
| 233 | 233 | } |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | } else { |
| 259 | 259 | $files = '/files'; |
| 260 | 260 | $ret .= $pCodeFileSetVar->getPhpCodeCommentLine('Set Var', $fieldName, $t); |
| 261 | - $ifelse .= $t."\t//" . $this->getAxcSetPrefix('uploader', "'{$fieldName}_'") . ";\n"; |
|
| 261 | + $ifelse .= $t."\t//".$this->getAxcSetPrefix('uploader', "'{$fieldName}_'").";\n"; |
|
| 262 | 262 | $ifelse .= $t."\t//{$fetchMedia};\n"; |
| 263 | 263 | } |
| 264 | 264 | $ret .= $pCodeFileSetVar->getPhpCodeIncludeDir('XOOPS_ROOT_PATH', 'class/uploader', true, false, '', $t); |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * @public function write |
| 57 | 57 | * @param string $module |
| 58 | 58 | * @param mixed $table |
| 59 | - * @param $filename |
|
| 59 | + * @param string $filename |
|
| 60 | 60 | */ |
| 61 | 61 | public function write($module, $table, $filename) |
| 62 | 62 | { |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | * @public function render |
| 257 | 257 | * @param null |
| 258 | 258 | * |
| 259 | - * @return bool|string |
|
| 259 | + * @return null|string |
|
| 260 | 260 | */ |
| 261 | 261 | public function render() |
| 262 | 262 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * @param string $module |
| 61 | 61 | * @param string $table |
| 62 | 62 | * @param mixed $tables |
| 63 | - * @param $filename |
|
| 63 | + * @param string $filename |
|
| 64 | 64 | */ |
| 65 | 65 | public function write($module, $table, $tables, $filename) |
| 66 | 66 | { |
@@ -601,8 +601,8 @@ discard block |
||
| 601 | 601 | * @public function getClassCounter |
| 602 | 602 | * |
| 603 | 603 | * @param $tableName |
| 604 | - * @param $fieldId |
|
| 605 | - * @param $fieldMain |
|
| 604 | + * @param string $fieldId |
|
| 605 | + * @param string $fieldMain |
|
| 606 | 606 | * |
| 607 | 607 | * @return string |
| 608 | 608 | */ |
@@ -629,8 +629,8 @@ discard block |
||
| 629 | 629 | * @public function getClassAll |
| 630 | 630 | * |
| 631 | 631 | * @param $tableName |
| 632 | - * @param $fieldId |
|
| 633 | - * @param $fieldMain |
|
| 632 | + * @param string $fieldId |
|
| 633 | + * @param string $fieldMain |
|
| 634 | 634 | * |
| 635 | 635 | * @return string |
| 636 | 636 | */ |
@@ -656,12 +656,12 @@ discard block |
||
| 656 | 656 | /** |
| 657 | 657 | * @public function getClassByCategory |
| 658 | 658 | * |
| 659 | - * @param $moduleDirname |
|
| 659 | + * @param string $moduleDirname |
|
| 660 | 660 | * @param $tableName |
| 661 | 661 | * @param $tableFieldName |
| 662 | - * @param $fieldId |
|
| 662 | + * @param string $fieldId |
|
| 663 | 663 | * @param $fieldName |
| 664 | - * @param $fieldMain |
|
| 664 | + * @param string $fieldMain |
|
| 665 | 665 | * @param $fieldParent |
| 666 | 666 | * |
| 667 | 667 | * @param $fieldElement |
@@ -735,10 +735,10 @@ discard block |
||
| 735 | 735 | /** |
| 736 | 736 | * @public function getClassGetTableSolenameById |
| 737 | 737 | * |
| 738 | - * @param $moduleDirname |
|
| 739 | - * @param $table |
|
| 738 | + * @param string $moduleDirname |
|
| 739 | + * @param string $table |
|
| 740 | 740 | * |
| 741 | - * @param $fieldMain |
|
| 741 | + * @param string $fieldMain |
|
| 742 | 742 | * @return string |
| 743 | 743 | */ |
| 744 | 744 | private function getClassGetTableSolenameById($moduleDirname, $table, $fieldMain) |
@@ -770,7 +770,7 @@ discard block |
||
| 770 | 770 | * @public function render |
| 771 | 771 | * @param null |
| 772 | 772 | * |
| 773 | - * @return bool|string |
|
| 773 | + * @return null|string |
|
| 774 | 774 | */ |
| 775 | 775 | public function render() |
| 776 | 776 | { |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | $ucfModuleDirname = ucfirst($moduleDirname); |
| 170 | 170 | $ucfTableName = ucfirst($tableName); |
| 171 | 171 | $ret = $pc->getPhpCodeDefined(); |
| 172 | - $ret .= $pc->getPhpCodeCommentMultiLine(['Class Object' => $ucfModuleDirname . $ucfTableName]); |
|
| 172 | + $ret .= $pc->getPhpCodeCommentMultiLine(['Class Object' => $ucfModuleDirname.$ucfTableName]); |
|
| 173 | 173 | $cCl = ''; |
| 174 | 174 | |
| 175 | 175 | $fieldInForm = []; |
@@ -526,7 +526,7 @@ discard block |
||
| 526 | 526 | $ucfTableName = ucfirst($tableName); |
| 527 | 527 | $ucfTableSoleName = ucfirst($tableSoleName); |
| 528 | 528 | $ucfModuleTable = $ucfModuleDirname.$ucfTableName; |
| 529 | - $multiLineCom = ['Class Object Handler' => $ucfModuleDirname . $ucfTableName]; |
|
| 529 | + $multiLineCom = ['Class Object Handler' => $ucfModuleDirname.$ucfTableName]; |
|
| 530 | 530 | $ret = $pc->getPhpCodeCommentMultiLine($multiLineCom); |
| 531 | 531 | |
| 532 | 532 | $cClh = $pc->getPhpCodeCommentMultiLine(['Constructor' => '', '' => '', '@param' => 'null|XoopsDatabase $db'], "\t"); |
@@ -612,7 +612,7 @@ discard block |
||
| 612 | 612 | $xc = TDMCreateXoopsCode::getInstance(); |
| 613 | 613 | $cc = ClassXoopsCode::getInstance(); |
| 614 | 614 | $ucfTableName = ucfirst($tableName); |
| 615 | - $ret = $pc->getPhpCodeCommentMultiLine(['Get Count ' . $ucfTableName => 'in the database'], "\t"); |
|
| 615 | + $ret = $pc->getPhpCodeCommentMultiLine(['Get Count '.$ucfTableName => 'in the database'], "\t"); |
|
| 616 | 616 | |
| 617 | 617 | $critCount = $cc->getClassCriteriaCompo('crCount'.$ucfTableName, "\t\t"); |
| 618 | 618 | $paramsCrit = "\$this->get{$ucfTableName}Criteria(\$crCount{$ucfTableName}, \$start, \$limit, \$sort, \$order)"; |
@@ -640,7 +640,7 @@ discard block |
||
| 640 | 640 | $xc = TDMCreateXoopsCode::getInstance(); |
| 641 | 641 | $cc = ClassXoopsCode::getInstance(); |
| 642 | 642 | $ucfTableName = ucfirst($tableName); |
| 643 | - $ret = $pc->getPhpCodeCommentMultiLine(['Get All ' . $ucfTableName => 'in the database'], "\t"); |
|
| 643 | + $ret = $pc->getPhpCodeCommentMultiLine(['Get All '.$ucfTableName => 'in the database'], "\t"); |
|
| 644 | 644 | |
| 645 | 645 | $critAll = $cc->getClassCriteriaCompo('crAll'.$ucfTableName, "\t\t"); |
| 646 | 646 | $paramsCrit = "\$this->get{$ucfTableName}Criteria(\$crAll{$ucfTableName}, \$start, \$limit, \$sort, \$order)"; |
@@ -717,7 +717,7 @@ discard block |
||
| 717 | 717 | $pc = TDMCreatePhpCode::getInstance(); |
| 718 | 718 | $cc = ClassXoopsCode::getInstance(); |
| 719 | 719 | $ucfTableName = ucfirst($tableName); |
| 720 | - $ret = $pc->getPhpCodeCommentMultiLine(['Get' => 'Criteria ' . $ucfTableName], "\t"); |
|
| 720 | + $ret = $pc->getPhpCodeCommentMultiLine(['Get' => 'Criteria '.$ucfTableName], "\t"); |
|
| 721 | 721 | |
| 722 | 722 | $paramsAllCriteria = "\$cr{$ucfTableName}, \$start, \$limit, \$sort, \$order"; |
| 723 | 723 | |
@@ -749,7 +749,7 @@ discard block |
||
| 749 | 749 | $tableSoleName = $table->getVar('table_solename'); |
| 750 | 750 | $ucfTableSoleName = ucfirst($tableSoleName); |
| 751 | 751 | $ccTableSoleName = $this->getCamelCase($tableSoleName, true); |
| 752 | - $ret = $pc->getPhpCodeCommentMultiLine(['Returns the' => $ucfTableSoleName . ' from id', '' => '', '@return' => 'string'], "\t"); |
|
| 752 | + $ret = $pc->getPhpCodeCommentMultiLine(['Returns the' => $ucfTableSoleName.' from id', '' => '', '@return' => 'string'], "\t"); |
|
| 753 | 753 | $soleName = $xc->getXcEqualsOperator("\${$tableSoleName}Id", "(int)( \${$tableSoleName}Id )", null, false, "\t\t"); |
| 754 | 754 | $soleName .= $xc->getXcEqualsOperator("\${$tableSoleName}", "''", null, false, "\t\t"); |
| 755 | 755 | |
@@ -46,8 +46,8 @@ discard block |
||
| 46 | 46 | /** |
| 47 | 47 | * @public function initForm |
| 48 | 48 | * |
| 49 | - * @param $module |
|
| 50 | - * @param $table |
|
| 49 | + * @param string $module |
|
| 50 | + * @param string $table |
|
| 51 | 51 | */ |
| 52 | 52 | public function initForm($module, $table) |
| 53 | 53 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | /** |
| 59 | 59 | * @private function getXoopsFormText |
| 60 | 60 | * |
| 61 | - * @param $language |
|
| 61 | + * @param string $language |
|
| 62 | 62 | * @param $fieldName |
| 63 | 63 | * @param $fieldDefault |
| 64 | 64 | * @param string $required |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * @private function getXoopsFormText |
| 90 | 90 | * |
| 91 | - * @param $language |
|
| 91 | + * @param string $language |
|
| 92 | 92 | * @param $fieldName |
| 93 | 93 | * @param $required |
| 94 | 94 | * |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | /** |
| 111 | 111 | * @private function getXoopsFormDhtmlTextArea |
| 112 | 112 | * |
| 113 | - * @param $language |
|
| 113 | + * @param string $language |
|
| 114 | 114 | * @param $moduleDirname |
| 115 | 115 | * @param $fieldName |
| 116 | 116 | * @param $required |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | /** |
| 144 | 144 | * @private function getXoopsFormCheckBox |
| 145 | 145 | * |
| 146 | - * @param $language |
|
| 146 | + * @param string $language |
|
| 147 | 147 | * @param $tableSoleName |
| 148 | 148 | * @param $fieldName |
| 149 | 149 | * @param $fieldElementId |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | /** |
| 206 | 206 | * @private function getXoopsFormImageList |
| 207 | 207 | * |
| 208 | - * @param $language |
|
| 208 | + * @param string $language |
|
| 209 | 209 | * @param $moduleDirname |
| 210 | 210 | * @param $tableName |
| 211 | 211 | * @param $tableSoleName |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | /** |
| 259 | 259 | * @private function getXoopsFormSelectFile |
| 260 | 260 | * |
| 261 | - * @param $language |
|
| 261 | + * @param string $language |
|
| 262 | 262 | * @param $moduleDirname |
| 263 | 263 | * @param $fieldName |
| 264 | 264 | * @param $required |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | /** |
| 310 | 310 | * @private function getXoopsFormUrlFile |
| 311 | 311 | * |
| 312 | - * @param $language |
|
| 312 | + * @param string $language |
|
| 313 | 313 | * @param $moduleDirname |
| 314 | 314 | * @param $fieldName |
| 315 | 315 | * @param $fieldDefault |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | /** |
| 340 | 340 | * @private function getXoopsFormUploadImage |
| 341 | 341 | * |
| 342 | - * @param $language |
|
| 342 | + * @param string $language |
|
| 343 | 343 | * @param $moduleDirname |
| 344 | 344 | * @param $tableName |
| 345 | 345 | * @param $tableSoleName |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | /** |
| 391 | 391 | * @private function getXoopsFormUploadFile |
| 392 | 392 | * |
| 393 | - * @param $language |
|
| 393 | + * @param string $language |
|
| 394 | 394 | * @param $moduleDirname |
| 395 | 395 | * @param $tableName |
| 396 | 396 | * @param $fieldName |
@@ -416,7 +416,7 @@ discard block |
||
| 416 | 416 | /** |
| 417 | 417 | * @private function getXoopsFormColorPicker |
| 418 | 418 | * |
| 419 | - * @param $language |
|
| 419 | + * @param string $language |
|
| 420 | 420 | * @param $moduleDirname |
| 421 | 421 | * @param $fieldName |
| 422 | 422 | * @param $required |
@@ -440,7 +440,7 @@ discard block |
||
| 440 | 440 | /** |
| 441 | 441 | * @private function getXoopsFormSelectBox |
| 442 | 442 | * |
| 443 | - * @param $language |
|
| 443 | + * @param string $language |
|
| 444 | 444 | * @param $moduleDirname |
| 445 | 445 | * @param $tableName |
| 446 | 446 | * @param $fieldName |
@@ -471,7 +471,7 @@ discard block |
||
| 471 | 471 | /** |
| 472 | 472 | * @private function getXoopsFormSelectUser |
| 473 | 473 | * |
| 474 | - * @param $language |
|
| 474 | + * @param string $language |
|
| 475 | 475 | * @param $moduleDirname |
| 476 | 476 | * @param $fieldName |
| 477 | 477 | * @param string $required |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | /** |
| 495 | 495 | * @private function getXoopsFormRadioYN |
| 496 | 496 | * |
| 497 | - * @param $language |
|
| 497 | + * @param string $language |
|
| 498 | 498 | * @param $fieldName |
| 499 | 499 | * @param $required |
| 500 | 500 | * |
@@ -518,7 +518,7 @@ discard block |
||
| 518 | 518 | /** |
| 519 | 519 | * @private function getXoopsFormTextDateSelect |
| 520 | 520 | * |
| 521 | - * @param $language |
|
| 521 | + * @param string $language |
|
| 522 | 522 | * @param $fieldName |
| 523 | 523 | * @param $required |
| 524 | 524 | * |
@@ -542,7 +542,7 @@ discard block |
||
| 542 | 542 | /** |
| 543 | 543 | * @private function getXoopsFormTable |
| 544 | 544 | * |
| 545 | - * @param $language |
|
| 545 | + * @param string $language |
|
| 546 | 546 | * @param $moduleDirname |
| 547 | 547 | * @param $tableName |
| 548 | 548 | * @param $fieldName |
@@ -577,9 +577,9 @@ discard block |
||
| 577 | 577 | /** |
| 578 | 578 | * @private function getXoopsFormTopic |
| 579 | 579 | * |
| 580 | - * @param $language |
|
| 580 | + * @param string $language |
|
| 581 | 581 | * @param $moduleDirname |
| 582 | - * @param $topicTableName |
|
| 582 | + * @param string $topicTableName |
|
| 583 | 583 | * @param $fieldId |
| 584 | 584 | * @param $fieldPid |
| 585 | 585 | * @param $fieldMain |