Completed
Pull Request — master (#1)
by Michael
02:28
created
class/contents.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
      *
241 241
      * @param CriteriaElement|string sort order ('id', 'cid', 'title', 'publish', or 'weight') default: 'id'
242 242
      *
243
-     * @return mixed XoopsfaqContents object | false on failure
243
+     * @return boolean XoopsfaqContents object | false on failure
244 244
      */
245 245
     public function getObj($sort = 'id')
246 246
     {
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
      * XoopsfaqContentsHandler::getPublished()
266 266
      *
267 267
      * @param string $id
268
-     * @return mixed array of XoopsfaqContent objects | false on failure
268
+     * @return boolean array of XoopsfaqContent objects | false on failure
269 269
      */
270 270
     public function getPublished($id = '')
271 271
     {
Please login to merge, or discard this patch.
class/utility.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,8 +268,8 @@
 block discarded – undo
268 268
     /**
269 269
      * Render the icon links
270 270
      *
271
-     * @param array $icon_array contains operation=>icon_name as key=>value
272
-     * @param mixed $param      HTML parameter
271
+     * @param string[] $icon_array contains operation=>icon_name as key=>value
272
+     * @param string $param      HTML parameter
273 273
      * @param mixed $value      HTML parameter value to set
274 274
      * @param mixed $extra      are any additional HTML attributes desired for the <a> tag
275 275
      * @return string
Please login to merge, or discard this patch.
include/sitemap.plugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@
 block discarded – undo
25 25
 
26 26
     $myts = MyTextSanitizer::getInstance();
27 27
 
28
-    $moduleDirName = basename(dirname(__DIR__)) ;
28
+    $moduleDirName = basename(dirname(__DIR__));
29 29
     $xfHelper      = Xmf\Module\Helper::getHelper($moduleDirName);
30 30
     $xfCatHandler  = $xfHelper->getHandler('category');
31 31
     $catList       = $xfCatHandler->getList();
32 32
 
33
-    $retVal = array() ;
34
-    foreach ($catList as $id=>$title){
33
+    $retVal = array();
34
+    foreach ($catList as $id=>$title) {
35 35
         $retVal['parent'][] = array('id' => $id,
36 36
                                  'title' => $myts->htmlSpecialChars($title),
37 37
                                    'url' => $xfHelper->url('index.php?cat_id=' . $id)
Please login to merge, or discard this patch.