Completed
Pull Request — master (#511)
by
unknown
09:28
created
htdocs/xoops_lib/Xoops/Core/Theme/XoopsTheme.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -687,7 +687,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xmf/Database/Migrate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      *
81 81
      * @internal intended for module developers only
82 82
      *
83
-     * @return int|false count of bytes written or false on error
83
+     * @return null|false count of bytes written or false on error
84 84
      */
85 85
     public function saveCurrentSchema()
86 86
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/SmartyBCTrait.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -479,6 +479,11 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
htdocs/include/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
htdocs/modules/notifications/class/helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
upgrade/upd-2.0.16-to-2.0.17/index.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
htdocs/modules/images/class/category.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,9 +81,9 @@
 block discarded – undo
81 81
     /**
82 82
      * Get a list of imagesCategories
83 83
      *
84
-     * @param array $groups
84
+     * @param integer[] $groups
85 85
      * @param string $perm
86
-     * @param null $display
86
+     * @param integer $display
87 87
      * @param null $storetype
88 88
      *
89 89
      * @return array Array of {@link ImagesImage} objects
Please login to merge, or discard this patch.
htdocs/modules/page/class/page_content.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -230,6 +230,9 @@
 block discarded – undo
230 230
         return parent::getCount($criteria);
231 231
     }
232 232
 
233
+    /**
234
+     * @param integer $status
235
+     */
233 236
     public function getPageTitle($status = null, $sort = 'content_weight ASC, content_title', $order = 'ASC')
234 237
     {
235 238
         $criteria = new CriteriaCompo();
Please login to merge, or discard this patch.
htdocs/modules/publisher/blocks/latest_news.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -386,6 +386,9 @@
 block discarded – undo
386 386
     return $form;
387 387
 }
388 388
 
389
+/**
390
+ * @param integer $number
391
+ */
389 392
 function publisher_mk_chkbox($options, $number)
390 393
 {
391 394
     $chk = "";
Please login to merge, or discard this patch.