Completed
Push — master ( d1a68a...39bb73 )
by Michael
01:32
created
class/CategoryHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Constructor
43 43
      *
44
-     * @param mixed $db
44
+     * @param null|\XoopsDatabase $db
45 45
      */
46 46
     public function __construct(\XoopsDatabase $db = null)
47 47
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param string $sort order ('id', order', or 'title') - default: id
55 55
      *
56
-     * @return mixed Category | false on failure
56
+     * @return boolean Category | false on failure
57 57
      */
58 58
     public function getObj($sort = 'id')
59 59
     {
Please login to merge, or discard this patch.
class/ContentsHandler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Constructor
43 43
      *
44
-     * @param mixed $db
44
+     * @param null|\XoopsDatabase $db
45 45
      */
46 46
     public function __construct(\XoopsDatabase $db = null)
47 47
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param \CriteriaElement|string sort order ('id', 'cid', 'title', 'publish', or 'weight') default: 'id'
55 55
      *
56
-     * @return mixed Contents object | false on failure
56
+     * @return boolean Contents object | false on failure
57 57
      */
58 58
     public function getObj($sort = 'id')
59 59
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * ContentsHandler::getPublished()
78 78
      *
79 79
      * @param string $id
80
-     * @return mixed array of XoopsfaqContent objects | false on failure
80
+     * @return boolean array of XoopsfaqContent objects | false on failure
81 81
      */
82 82
     public function getPublished($id = '')
83 83
     {
Please login to merge, or discard this patch.