Completed
Push — master ( b949bb...b4f428 )
by Michael
01:58
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/MyBlocksAdminForICMS.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     // private
125 125
 
126 126
     /**
127
-     * @param $target_side
127
+     * @param integer $target_side
128 128
      * @param $block_data
129 129
      * @return string
130 130
      */
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 
157 157
     /**
158 158
      * @param       $block_data
159
-     * @param array $skip_sides
159
+     * @param integer[] $skip_sides
160 160
      * @return string
161 161
      */
162 162
 
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/class/MyBlocksAdminForX20S.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     // private
88 88
 
89 89
     /**
90
-     * @param $target_side
90
+     * @param integer $target_side
91 91
      * @param $block_data
92 92
      * @return string
93 93
      */
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.