@@ -329,8 +329,8 @@ discard block |
||
| 329 | 329 | /** |
| 330 | 330 | * The default tag handler method for a tag with no handler |
| 331 | 331 | * |
| 332 | - * @param $parser |
|
| 333 | - * @param $tagName |
|
| 332 | + * @param integer $parser |
|
| 333 | + * @param string $tagName |
|
| 334 | 334 | * @param $attributesArray |
| 335 | 335 | * @return void |
| 336 | 336 | */ |
@@ -341,8 +341,8 @@ discard block |
||
| 341 | 341 | /** |
| 342 | 342 | * The default tag handler method for a tag with no handler |
| 343 | 343 | * |
| 344 | - * @param $parser |
|
| 345 | - * @param $tagName |
|
| 344 | + * @param integer $parser |
|
| 345 | + * @param string $tagName |
|
| 346 | 346 | * @return void |
| 347 | 347 | */ |
| 348 | 348 | public function handleEndElementDefault($parser, $tagName) |
@@ -354,8 +354,8 @@ discard block |
||
| 354 | 354 | * |
| 355 | 355 | * @abstract |
| 356 | 356 | * |
| 357 | - * @param $parser |
|
| 358 | - * @param $data |
|
| 357 | + * @param integer $parser |
|
| 358 | + * @param string $data |
|
| 359 | 359 | * @return void |
| 360 | 360 | */ |
| 361 | 361 | public function handleCharacterDataDefault($parser, $data) |
@@ -687,7 +687,7 @@ |
||
| 687 | 687 | * Additional custom filters can be specified for the named asset if needed. |
| 688 | 688 | * |
| 689 | 689 | * @param string $name the name of the reference to be added |
| 690 | - * @param mixed $assets a string asset path, or an array of asset paths, may include wildcard |
|
| 690 | + * @param string $assets a string asset path, or an array of asset paths, may include wildcard |
|
| 691 | 691 | * @param string $filters comma separated list of filters |
| 692 | 692 | * |
| 693 | 693 | * @return boolean true if asset registers, false on error |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * |
| 78 | 78 | * @internal intended for module developers only |
| 79 | 79 | * |
| 80 | - * @return int|false count of bytes written or false on error |
|
| 80 | + * @return null|false count of bytes written or false on error |
|
| 81 | 81 | */ |
| 82 | 82 | public function saveCurrentSchema() |
| 83 | 83 | { |
@@ -479,6 +479,11 @@ |
||
| 479 | 479 | trigger_error("Smarty error: $error_msg", $error_type); |
| 480 | 480 | } |
| 481 | 481 | |
| 482 | + /** |
|
| 483 | + * @param string $function |
|
| 484 | + * @param string $file |
|
| 485 | + * @param integer $line |
|
| 486 | + */ |
|
| 482 | 487 | protected function deprecated($function, $file, $line) |
| 483 | 488 | { |
| 484 | 489 | $xoops = \Xoops::getInstance(); |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * @deprecated |
| 62 | 62 | * @param string $name handler name |
| 63 | 63 | * @param bool $optional is this optional, causes error if false and no handler is available |
| 64 | - * @return XoopsObjectHandler|XoopsPersistableObjectHandler|null |
|
| 64 | + * @return Xoops\Core\Kernel\XoopsObjectHandler|null |
|
| 65 | 65 | */ |
| 66 | 66 | function xoops_getHandler($name, $optional = false) |
| 67 | 67 | { |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return string |
|
| 49 | + * @return Xoops\Module\Helper\HelperAbstract |
|
| 50 | 50 | */ |
| 51 | 51 | public static function getInstance() |
| 52 | 52 | { |
@@ -34,6 +34,9 @@ |
||
| 34 | 34 | return (bool)($value); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param string $sql |
|
| 39 | + */ |
|
| 37 | 40 | function query($sql) |
| 38 | 41 | { |
| 39 | 42 | $xoops = Xoops::getInstance(); |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | use Symfony\Component\Console\Command\Command; |
| 6 | 6 | use Symfony\Component\Console\Input\InputInterface; |
| 7 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
| 8 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 9 | -use Symfony\Component\Console\Input\InputOption; |
|
| 10 | 8 | use Xmf\Yaml; |
| 11 | 9 | |
| 12 | 10 | class CiBootstrapCommand extends Command |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * @param string $format |
| 141 | 141 | * @param string $stripTags |
| 142 | 142 | * |
| 143 | - * @return mixed|string |
|
| 143 | + * @return string |
|
| 144 | 144 | */ |
| 145 | 145 | public function summary($maxLength = 0, $format = "S", $stripTags = '') |
| 146 | 146 | { |
@@ -621,7 +621,7 @@ discard block |
||
| 621 | 621 | * @param int $max_char_summary |
| 622 | 622 | * @param bool $full_summary |
| 623 | 623 | * |
| 624 | - * @return array |
|
| 624 | + * @return integer |
|
| 625 | 625 | */ |
| 626 | 626 | public function toArray($display = 'default', $max_char_title = 0, $max_char_summary = 0, $full_summary = false) |
| 627 | 627 | { |
@@ -758,7 +758,7 @@ discard block |
||
| 758 | 758 | |
| 759 | 759 | /** |
| 760 | 760 | * @param string $content |
| 761 | - * @param string|array $keywords |
|
| 761 | + * @param string $keywords |
|
| 762 | 762 | * |
| 763 | 763 | * @return string Text |
| 764 | 764 | */ |
@@ -1382,11 +1382,11 @@ discard block |
||
| 1382 | 1382 | /** |
| 1383 | 1383 | * addNotNullFieldClause exclude rows where specified columns are empty or null |
| 1384 | 1384 | * |
| 1385 | - * @param QueryBuilder $qb QueryBuilder instance |
|
| 1386 | - * @param string|array $notNullFields fields that should not be empty |
|
| 1385 | + * @param Xoops\Core\Database\QueryBuilder $qb QueryBuilder instance |
|
| 1386 | + * @param string $notNullFields fields that should not be empty |
|
| 1387 | 1387 | * @param string $whereMode Initial where method, 'AND' andWhere(), otherwise where() |
| 1388 | 1388 | * |
| 1389 | - * @return QueryBuilder instance |
|
| 1389 | + * @return Xoops\Core\Database\QueryBuilder instance |
|
| 1390 | 1390 | */ |
| 1391 | 1391 | protected function addNotNullFieldClause(\Xoops\Core\Database\QueryBuilder $qb, $notNullFields = array(), $whereMode = '') |
| 1392 | 1392 | { |