Completed
Push — master ( 8e5652...4e30dc )
by Michael
02:28
created
admin/faq.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 $startfaq = isset($_GET['startfaq']) ? (int)$_GET['startfaq'] : 0;
30 30
 
31 31
 /**
32
- * @param bool $showmenu
32
+ * @param string $showmenu
33 33
  * @param int  $faqid
34 34
  * @param int  $answerid
35 35
  * @param bool $merge
Please login to merge, or discard this patch.
admin/mygrouppermform.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,9 +120,9 @@  discard block
 block discarded – undo
120 120
      * Add appendix
121 121
      *
122 122
      * @access public
123
-     * @param $permName
123
+     * @param string $permName
124 124
      * @param $itemId
125
-     * @param $itemName
125
+     * @param string $itemName
126 126
      */
127 127
     public function addAppendix($permName, $itemId, $itemName)
128 128
     {
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * Constructor
258 258
      * @param      $caption
259
-     * @param      $name
259
+     * @param      string $name
260 260
      * @param      $groupId
261 261
      * @param null $values
262 262
      */
Please login to merge, or discard this patch.
admin/question.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 $startfaq = isset($_GET['startfaq']) ? (int)$_GET['startfaq'] : 0;
27 27
 
28 28
 /**
29
- * @param bool $showmenu
29
+ * @param string $showmenu
30 30
  * @param int  $faqid
31 31
  */
32 32
 function editfaq($showmenu = false, $faqid = -1)
Please login to merge, or discard this patch.
class/Answer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * constructor
24
-     * @param null $id
24
+     * @param integer $id
25 25
      */
26 26
     public function __construct($id = null)
27 27
     {
Please login to merge, or discard this patch.
class/AnswerHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * create a new answer
28 28
      *
29 29
      * @param  bool $isNew flag the new objects as "new"?
30
-     * @return object Answer
30
+     * @return Answer Answer
31 31
      */
32 32
     public function create($isNew = true)
33 33
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * insert a new answer in the database
71 71
      *
72
-     * @param \XoopsObject $answerObj reference to the <a href='psi_element://sfAnswer'>sfAnswer</a> object
72
+     * @param Answer $answerObj reference to the <a href='psi_element://sfAnswer'>sfAnswer</a> object
73 73
      * @param  bool        $force
74 74
      * @return bool        FALSE if failed, TRUE if already present and unchanged or successful
75 75
      */
Please login to merge, or discard this patch.
class/Category.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-     * @return mixed
118
+     * @return integer
119 119
      */
120 120
     public function parentid()
121 121
     {
Please login to merge, or discard this patch.
class/CategoryHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * create a new category
26 26
      *
27 27
      * @param  bool $isNew flag the new objects as "new"?
28
-     * @return object Smartfaq\Category
28
+     * @return Category Smartfaq\Category
29 29
      */
30 30
     public function create($isNew = true)
31 31
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * insert a new category in the database
69 69
      *
70
-     * @param \XoopsObject $category reference to the {@link Smartfaq\Category}
70
+     * @param Category $category reference to the {@link Smartfaq\Category}
71 71
      *                               object
72 72
      * @param  bool        $force
73 73
      * @return bool        FALSE if failed, TRUE if already present and unchanged or successful
Please login to merge, or discard this patch.
class/Faq.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
     }
227 227
 
228 228
     /**
229
-     * @return mixed
229
+     * @return integer
230 230
      */
231 231
     public function uid()
232 232
     {
Please login to merge, or discard this patch.
class/FaqHandler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * insert a new faq in the database
70 70
      *
71
-     * @param \XoopsObject $faq reference to the {@link Smartfaq\Faq}
71
+     * @param Faq $faq reference to the {@link Smartfaq\Faq}
72 72
      *                          object
73 73
      * @param  bool        $force
74 74
      * @return bool        FALSE if failed, TRUE if already present and unchanged or successful
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
      * @param  string $order
519 519
      * @param  string $notNullFields
520 520
      * @param  bool   $asobject
521
-     * @param  null   $otherCriteria
521
+     * @param  null|\CriteriaCompo   $otherCriteria
522 522
      * @return array
523 523
      */
524 524
     public function getFaqs(
@@ -1035,7 +1035,7 @@  discard block
 block discarded – undo
1035 1035
 
1036 1036
     /**
1037 1037
      * @param  int   $cat_id
1038
-     * @param        $status
1038
+     * @param        string $status
1039 1039
      * @return array
1040 1040
      */
1041 1041
     public function getCountsByCat($cat_id = 0, $status)
Please login to merge, or discard this patch.