Completed
Push — master ( b4f428...a74d38 )
by Michael
02:21
created
xoops_trust_path/libs/altsys/class/altsysUtils.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 class altsysUtils
7 7
 {
8 8
     /**
9
-     * @param      $name
9
+     * @param      string $name
10 10
      * @param bool $doRegist
11 11
      * @return array
12 12
      */
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      * @param int  $flags
81 81
      * @param null $encoding
82 82
      * @param bool $double_encode
83
-     * @return mixed|string
83
+     * @return string
84 84
      */
85 85
 
86 86
     public static function htmlSpecialChars($str, $flags = ENT_COMPAT, $encoding = null, $double_encode = true)
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/D3LanguageManager.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @param      $resource
62
+     * @param      string $resource
63 63
      * @param      $mydirname
64 64
      * @param null $mytrustdirname
65 65
      * @param bool $read_once
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/D3NotificationHandler.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * @param array $extra_tags
75 75
      * @param array $user_list
76 76
      * @param null  $omit_user_id
77
-     * @return bool|void
77
+     * @return null|false
78 78
      */
79 79
 
80 80
     public function triggerEvent($mydirname, $mytrustdirname, $category, $item_id, $event, $extra_tags = [], $user_list = [], $omit_user_id = null)
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/d3utilities.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -359,7 +359,7 @@
 block discarded – undo
359 359
     }
360 360
 
361 361
     /**
362
-     * @param $name
362
+     * @param string $name
363 363
      * @param $options
364 364
      * @param $current_value
365 365
      * @return string
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/MyBlocksAdmin.class.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1145,7 +1145,7 @@  discard block
 block discarded – undo
1145 1145
     }
1146 1146
 
1147 1147
     /**
1148
-     * @param        $bid
1148
+     * @param        integer $bid
1149 1149
      * @param string $mode
1150 1150
      */
1151 1151
 
@@ -1353,7 +1353,7 @@  discard block
 block discarded – undo
1353 1353
 
1354 1354
     /**
1355 1355
      * @param $bctype
1356
-     * @return mixed|string
1356
+     * @return string
1357 1357
      */
1358 1358
 
1359 1359
     public function get_blockname_from_ctype($bctype)
Please login to merge, or discard this patch.
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 
118 118
             $moduleHandler = xoops_getHandler('module');
119 119
 
120
-         if (! empty($_GET['dirname'])) {
120
+            if (! empty($_GET['dirname'])) {
121 121
                 $dirname = preg_replace('/[^0-9a-zA-Z_-]/', '', \Xmf\Request::getString('dirname', '', 'GET'));
122 122
 
123 123
                 $target_module = $moduleHandler->getByDirname($dirname);
@@ -558,12 +558,12 @@  discard block
 block discarded – undo
558 558
             ];
559 559
 
560 560
             $blocks4assign[] = [
561
-                                   'name_raw' => $block_data['name'],
562
-                                   'title_raw' => $block_data['title'],
563
-                                   'cell_position' => $this->renderCell4BlockPosition($block_data),
564
-                                   'cell_module_link' => $this->renderCell4BlockModuleLink($block_data),
565
-                                   'cell_group_perm' => $this->renderCell4BlockReadGroupPerm($block_data),
566
-                               ] + $block_data;
561
+                                    'name_raw' => $block_data['name'],
562
+                                    'title_raw' => $block_data['title'],
563
+                                    'cell_position' => $this->renderCell4BlockPosition($block_data),
564
+                                    'cell_module_link' => $this->renderCell4BlockModuleLink($block_data),
565
+                                    'cell_group_perm' => $this->renderCell4BlockReadGroupPerm($block_data),
566
+                                ] + $block_data;
567 567
         }
568 568
 
569 569
         // display
@@ -573,14 +573,14 @@  discard block
 block discarded – undo
573 573
         $tpl = new D3Tpl();
574 574
 
575 575
         $tpl->assign([
576
-                         'target_mid' => $this->target_mid,
577
-                         'target_dirname' => $this->target_dirname,
578
-                         'target_mname' => $this->target_mname,
579
-                         'language' => $this->lang,
580
-                         'cachetime_options' => $this->cachetime_options,
581
-                         'blocks' => $blocks4assign,
582
-                         'gticket_hidden' => $xoopsGTicket->getTicketHtml(__LINE__, 1800, 'myblocksadmin'),
583
-                     ]);
576
+                            'target_mid' => $this->target_mid,
577
+                            'target_dirname' => $this->target_dirname,
578
+                            'target_mname' => $this->target_mname,
579
+                            'language' => $this->lang,
580
+                            'cachetime_options' => $this->cachetime_options,
581
+                            'blocks' => $blocks4assign,
582
+                            'gticket_hidden' => $xoopsGTicket->getTicketHtml(__LINE__, 1800, 'myblocksadmin'),
583
+                        ]);
584 584
 
585 585
         $tpl->display('db:altsys_main_myblocksadmin_list.tpl');
586 586
     }
@@ -1274,18 +1274,18 @@  discard block
 block discarded – undo
1274 1274
         }
1275 1275
 
1276 1276
         $tpl->assign([
1277
-                         'target_dirname' => $this->target_dirname,
1278
-                         'target_mname' => $this->target_mname,
1279
-                         'language' => $this->lang,
1280
-                         'cachetime_options' => $this->cachetime_options,
1281
-                         'ctype_options' => $this->ctype_options,
1282
-                         'block' => $block4assign,
1283
-                         'op' => $next_op,
1284
-                         'form_title' => $form_title,
1285
-                         'submit_button' => $button_value,
1286
-                         'common_fck_installed' => $this->checkFck(),
1287
-                         'gticket_hidden' => $GLOBALS['xoopsSecurity']->getTokenHTML('myblocksadmin'),
1288
-                     ]);
1277
+                            'target_dirname' => $this->target_dirname,
1278
+                            'target_mname' => $this->target_mname,
1279
+                            'language' => $this->lang,
1280
+                            'cachetime_options' => $this->cachetime_options,
1281
+                            'ctype_options' => $this->ctype_options,
1282
+                            'block' => $block4assign,
1283
+                            'op' => $next_op,
1284
+                            'form_title' => $form_title,
1285
+                            'submit_button' => $button_value,
1286
+                            'common_fck_installed' => $this->checkFck(),
1287
+                            'gticket_hidden' => $GLOBALS['xoopsSecurity']->getTokenHTML('myblocksadmin'),
1288
+                        ]);
1289 1289
 
1290 1290
         if (defined('XOOPS_CUBE_LEGACY')) {
1291 1291
             $tpl->display('db:altsys_main_myblocksadmin_edit_4legacy.tpl');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/SetupAltsysLangMgr.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @param $dirname
67
-     * @param $fileBodyName
66
+     * @param string $dirname
67
+     * @param string $fileBodyName
68 68
      */
69 69
 
70 70
     public function _loadLanguage($dirname, $fileBodyName)
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/altsys_functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,8 +130,8 @@
 block discarded – undo
130 130
 }
131 131
 
132 132
 /**
133
- * @param $mid
134
- * @param $coretype
133
+ * @param integer $mid
134
+ * @param integer|null $coretype
135 135
  * @return string
136 136
  */
137 137
 function altsys_get_link2modpreferences($mid, $coretype)
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/Archive_Zip.php 1 patch
Doc Comments   +13 added lines, -10 removed lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@  discard block
 block discarded – undo
142 142
 
143 143
     //  function Archive_Zip($p_zipname)
144 144
 
145
+    /**
146
+     * @param string $p_zipname
147
+     */
145 148
     public function __construct($p_zipname)
146 149
     {
147 150
         // ----- Check the zlib
@@ -185,7 +188,7 @@  discard block
 block discarded – undo
185 188
      * @param  mixed $p_filelist   The list of the files or folders to add.
186 189
      *                             It can be a string with filenames separated
187 190
      *                             by a comma, or an array of filenames.
188
-     * @param  mixed $p_params     An array of variable parameters and values.
191
+     * @param  integer $p_params     An array of variable parameters and values.
189 192
      * @return mixed An array of file description on success,
190 193
      *                             an error code on error
191 194
      */
@@ -263,7 +266,7 @@  discard block
 block discarded – undo
263 266
      * @param    mixed $p_filelist   The list of the files or folders to add.
264 267
      *                               It can be a string with filenames separated
265 268
      *                               by a comma, or an array of filenames.
266
-     * @param    mixed $p_params     An array of variable parameters and values.
269
+     * @param    integer $p_params     An array of variable parameters and values.
267 270
      * @return mixed An array of file description on success,
268 271
      *                               0 on an unrecoverable failure, an error code is logged.
269 272
      */
@@ -430,7 +433,7 @@  discard block
 block discarded – undo
430 433
      *                            each entry extraction.
431 434
      *
432 435
      * @access public
433
-     * @param    mixed $p_params An array of variable parameters and values.
436
+     * @param    integer $p_params An array of variable parameters and values.
434 437
      * @return mixed An array of file description on success,
435 438
      *                           0 on an unrecoverable failure, an error code is logged.
436 439
      */
@@ -1194,7 +1197,7 @@  discard block
 block discarded – undo
1194 1197
      * Archive_Zip::_openFd()
1195 1198
      *
1196 1199
      * { Description }
1197
-     * @param $p_mode
1200
+     * @param string $p_mode
1198 1201
      * @return int
1199 1202
      */
1200 1203
 
@@ -1530,7 +1533,7 @@  discard block
 block discarded – undo
1530 1533
      * Archive_Zip::_addFile()
1531 1534
      *
1532 1535
      * { Description }
1533
-     * @param $p_filename
1536
+     * @param boolean|string $p_filename
1534 1537
      * @param $p_add_dir
1535 1538
      * @param $p_remove_dir
1536 1539
      * @param $p_remove_all_dir
@@ -1997,7 +2000,7 @@  discard block
 block discarded – undo
1997 2000
      * @param $p_nb_entries
1998 2001
      * @param $p_size
1999 2002
      * @param $p_offset
2000
-     * @param $p_comment
2003
+     * @param string $p_comment
2001 2004
      * @return int
2002 2005
      */
2003 2006
 
@@ -4376,8 +4379,8 @@  discard block
 block discarded – undo
4376 4379
      *
4377 4380
      * { Description }
4378 4381
      *
4379
-     * @param         $p_src
4380
-     * @param         $p_dest
4382
+     * @param         integer $p_src
4383
+     * @param         integer $p_dest
4381 4384
      * @param         $p_size
4382 4385
      * @param int $p_mode
4383 4386
      * @return int
@@ -4464,8 +4467,8 @@  discard block
 block discarded – undo
4464 4467
      * _tool_Rename()
4465 4468
      *
4466 4469
      * { Description }
4467
-     * @param $p_src
4468
-     * @param $p_dest
4470
+     * @param string $p_src
4471
+     * @param string $p_dest
4469 4472
      * @return int
4470 4473
      */
4471 4474
 
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/gtickets.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
          * @param bool   $post
192 192
          * @param string $area
193 193
          * @param bool   $allow_repost
194
-         * @return bool
194
+         * @return null|boolean
195 195
          */
196 196
 
197 197
         public function check($post = true, $area = '', $allow_repost = true)
@@ -362,9 +362,9 @@  discard block
 block discarded – undo
362 362
         }
363 363
 
364 364
         /**
365
-         * @param $key_name
365
+         * @param string $key_name
366 366
          * @param $tmp_array
367
-         * @return array
367
+         * @return string[]
368 368
          */
369 369
 
370 370
         public function extract_post_recursive($key_name, $tmp_array)
Please login to merge, or discard this patch.