Completed
Push — master ( 6b7a6d...74143b )
by Gino
20s
created
class/files/admin/AdminMenu.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     /**
192 192
     *  @public function render
193 193
     *  @param null
194
-    * @return bool|string
194
+    * @return null|string
195 195
     */
196 196
     public function render()
197 197
     {
Please login to merge, or discard this patch.
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class AdminMenu extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,10 +38,10 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
43
-    * @return AdminMenu
44
-    */
41
+     *  @static function getInstance
42
+     *  @param null
43
+     * @return AdminMenu
44
+     */
45 45
     public static function getInstance()
46 46
     {
47 47
         static $instance = false;
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param string $filename
59
-    */
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param string $filename
59
+     */
60 60
     public function write($module, $filename)
61 61
     {
62 62
         $this->setModule($module);
@@ -91,10 +91,10 @@  discard block
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-    *  @private function getAdminMenuHeader
95
-    *  @param null
96
-    * @return string
97
-    */
94
+     *  @private function getAdminMenuHeader
95
+     *  @param null
96
+     * @return string
97
+     */
98 98
     private function getAdminMenuHeader()
99 99
     {
100 100
         $dirname = array('$dirname' => 'basename(dirname(__DIR__))');
@@ -110,12 +110,12 @@  discard block
 block discarded – undo
110 110
     }
111 111
 
112 112
     /**
113
-    *  @private function getAdminMenuDashboard
114
-    *  @param string $language
115
-    *  @param integer $menu
116
-    *
117
-    * @return string
118
-    */
113
+     *  @private function getAdminMenuDashboard
114
+     *  @param string $language
115
+     *  @param integer $menu
116
+     *
117
+     * @return string
118
+     */
119 119
     private function getAdminMenuDashboard($language, $menu)
120 120
     {
121 121
         $xc = TDMCreateXoopsCode::getInstance();
@@ -128,12 +128,12 @@  discard block
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-    *  @private function getAdminMenuImagesPath
132
-    *  @param array $tables
133
-    *  @param integer $t
134
-    *
135
-    * @return string
136
-    */
131
+     *  @private function getAdminMenuImagesPath
132
+     *  @param array $tables
133
+     *  @param integer $t
134
+     *
135
+     * @return string
136
+     */
137 137
     private function getAdminMenuImagesPath($tables, $t)
138 138
     {
139 139
         $xc = TDMCreateXoopsCode::getInstance();
@@ -191,10 +191,10 @@  discard block
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-    *  @public function render
195
-    *  @param null
196
-    * @return bool|string
197
-    */
194
+     *  @public function render
195
+     *  @param null
196
+     * @return bool|string
197
+     */
198 198
     public function render()
199 199
     {
200 200
         $module = $this->getModule();
Please login to merge, or discard this patch.
class/files/admin/AdminFooter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     /**
192 192
     *  @public function render
193 193
     *  @param null
194
-    * @return bool|string
194
+    * @return null|string
195 195
     */
196 196
     public function render()
197 197
     {
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 class AdminFooter extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     private $xc = null;
34 34
 
35 35
     /**
36
-    *  @public function constructor
37
-    *  @param null
38
-    */
36
+     *  @public function constructor
37
+     *  @param null
38
+     */
39 39
 
40 40
     public function __construct()
41 41
     {
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-    *  @static function getInstance
49
-    * @return AdminFooter
50
-    */
48
+     *  @static function getInstance
49
+     * @return AdminFooter
50
+     */
51 51
     public static function getInstance()
52 52
     {
53 53
         static $instance = false;
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-    *  @public function write
63
-    *  @param string $module
64
-    *  @param string $filename
65
-    */
62
+     *  @public function write
63
+     *  @param string $module
64
+     *  @param string $filename
65
+     */
66 66
     public function write($module, $filename)
67 67
     {
68 68
         $this->setModule($module);
@@ -70,10 +70,10 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-    *  @public function render
74
-    *  @param null
75
-    * @return bool|string
76
-    */
73
+     *  @public function render
74
+     *  @param null
75
+     * @return bool|string
76
+     */
77 77
     public function render()
78 78
     {
79 79
         $module = $this->getModule();
Please login to merge, or discard this patch.
class/files/admin/AdminIndex.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     /**
192 192
     *  @public function render
193 193
     *  @param null
194
-    * @return bool|string
194
+    * @return null|string
195 195
     */
196 196
     public function render()
197 197
     {
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class AdminIndex extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,10 +38,10 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
43
-    * @return AdminIndex
44
-    */
41
+     *  @static function getInstance
42
+     *  @param null
43
+     * @return AdminIndex
44
+     */
45 45
     public static function getInstance()
46 46
     {
47 47
         static $instance = false;
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param mixed $tables
59
-    *  @param string $filename
60
-    */
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param mixed $tables
59
+     *  @param string $filename
60
+     */
61 61
     public function write($module, $tables, $filename)
62 62
     {
63 63
         $this->setModule($module);
@@ -131,10 +131,10 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-    *  @public function render
135
-    *  @param null
136
-    * @return bool|string
137
-    */
134
+     *  @public function render
135
+     *  @param null
136
+     * @return bool|string
137
+     */
138 138
     public function render()
139 139
     {
140 140
         $module = $this->getModule();
Please login to merge, or discard this patch.
class/files/TDMCreateSmartyCode.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@
 block discarded – undo
254 254
      * @param string $operator
255 255
      * @param string $type
256 256
      * @param string $contentIf
257
-     * @param mixed  $contentElse
257
+     * @param string  $contentElse
258 258
      * @param bool   $count
259 259
      *
260 260
      * @return string
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@  discard block
 block discarded – undo
28 28
 class TDMCreateSmartyCode
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
37 37
     }
38 38
 
39 39
     /**
40
-    *  @static function getInstance
41
-    *  @param null
40
+     *  @static function getInstance
41
+     *  @param null
42 42
      * @return TDMCreateSmartyCode
43 43
      */
44 44
     public static function getInstance()
@@ -72,12 +72,12 @@  discard block
 block discarded – undo
72 72
         return $ret;
73 73
     }
74 74
 
75
-     /**
76
-    *  @private function setAttributes
77
-    *  @param array $attributes
78
-     *
79
-     * @return string
80
-     */
75
+        /**
76
+         *  @private function setAttributes
77
+         *  @param array $attributes
78
+         *
79
+         * @return string
80
+         */
81 81
     private function getAttributes($attributes)
82 82
     {
83 83
         $str = '';
@@ -91,8 +91,8 @@  discard block
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-    *  @public function getSmartyEmpty
95
-    *  @param string $empty
94
+     *  @public function getSmartyEmpty
95
+     *  @param string $empty
96 96
      *
97 97
      * @return string
98 98
      */
Please login to merge, or discard this patch.
class/fields.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -162,9 +162,9 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * @private function getFormNewLine
164 164
      *
165
-     * @param $form
166
-     * @param $class
167
-     * @param $i
165
+     * @param TDMCreateThemeForm $form
166
+     * @param string $class
167
+     * @param integer $i
168 168
      * @param $fieldMid
169 169
      * @param $fieldTid
170 170
      * @param $fName
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
      *  @private function getFooterForm
450 450
      *
451 451
      *  @param null
452
-     * @param $form
452
+     * @param TDMCreateThemeForm $form
453 453
      *
454 454
      * @return mixed
455 455
      */
@@ -603,10 +603,10 @@  discard block
 block discarded – undo
603 603
     /**
604 604
      * Get Fields Criteria.
605 605
      * @param $crFields
606
-     * @param $start
607
-     * @param $limit
608
-     * @param $sort
609
-     * @param $order
606
+     * @param integer $start
607
+     * @param integer $limit
608
+     * @param string $sort
609
+     * @param string $order
610 610
      * @return
611 611
      */
612 612
     private function getFieldsCriteria($crFields, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.
class/files/admin/AdminAbout.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
     /**
192 192
     *  @public function render
193 193
     *  @param null
194
-    * @return bool|string
194
+    * @return null|string
195 195
     */
196 196
     public function render()
197 197
     {
Please login to merge, or discard this patch.
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -28,19 +28,19 @@  discard block
 block discarded – undo
28 28
 class AdminAbout extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
32
+     */
33 33
     private $axc = null;
34 34
 
35 35
     /**
36
-    * @var string
37
-    */
36
+     * @var string
37
+     */
38 38
     private $xc = null;
39 39
 
40 40
     /**
41
-    *  @public function constructor
42
-    *  @param null
43
-    */
41
+     *  @public function constructor
42
+     *  @param null
43
+     */
44 44
 
45 45
     public function __construct()
46 46
     {
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-    *  @static function getInstance
54
-    *  @param null
55
-    * @return AdminAbout
56
-    */
53
+     *  @static function getInstance
54
+     *  @param null
55
+     * @return AdminAbout
56
+     */
57 57
     public static function getInstance()
58 58
     {
59 59
         static $instance = false;
@@ -65,10 +65,10 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-    *  @public function write
69
-    *  @param string $module
70
-    *  @param string $filename
71
-    */
68
+     *  @public function write
69
+     *  @param string $module
70
+     *  @param string $filename
71
+     */
72 72
     public function write($module, $filename)
73 73
     {
74 74
         $this->setModule($module);
@@ -76,10 +76,10 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     /**
79
-    *  @public function render
80
-    *  @param null
81
-    * @return bool|string
82
-    */
79
+     *  @public function render
80
+     *  @param null
81
+     * @return bool|string
82
+     */
83 83
     public function render()
84 84
     {
85 85
         $module = $this->getModule();
Please login to merge, or discard this patch.
class/files/admin/AdminPages.php 2 patches
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * @public function write
58
-     * @param $module
58
+     * @param string $module
59 59
      * @param $table
60
-     * @param $filename
60
+     * @param string $filename
61 61
      */
62 62
     public function write($module, $table, $filename)
63 63
     {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @private  function getAdminPagesList
106 106
      * @param        $moduleDirname
107 107
      * @param        $table
108
-     * @param        $language
108
+     * @param        string $language
109 109
      * @param        $fields
110 110
      * @param        $fieldId
111 111
      * @param        $fieldInForm
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      * @param        $moduleDirname
163 163
      * @param        $tableName
164 164
      * @param        $fieldInForm
165
-     * @param        $language
165
+     * @param        string $language
166 166
      * @param string $t
167 167
      * @return string
168 168
      */
@@ -193,8 +193,8 @@  discard block
 block discarded – undo
193 193
     *  @private function getPermissionsSave
194 194
     *  @param $moduleDirname
195 195
     *  @param $fieldId
196
-    *  @param $ccFieldId
197
-    *  @param $newFieldId
196
+    *  @param string $ccFieldId
197
+    *  @param string $newFieldId
198 198
     *  @param $perm
199 199
     *
200 200
     *  @return string
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * @param        $tableName
219 219
      * @param        $tableCategory
220 220
      * @param        $tableSolename
221
-     * @param        $language
221
+     * @param        string $language
222 222
      * @param        $fields
223 223
      * @param        $fieldId
224 224
      * @param        $fieldMain
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
      * @private  function getAdminPagesEdit
310 310
      * @param        $moduleDirname
311 311
      * @param        $table
312
-     * @param        $language
312
+     * @param        string $language
313 313
      * @param        $fieldId
314 314
      * @param        $fieldInForm
315 315
      * @param string $t
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
     /**
351 351
      * @private function getAdminPagesDelete
352 352
      * @param        $tableName
353
-     * @param        $language
353
+     * @param        string $language
354 354
      * @param        $fieldId
355 355
      * @param        $fieldMain
356 356
      * @param string $t
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
      * @public function render
368 368
      * @param null
369 369
      *
370
-     * @return bool|string
370
+     * @return null|string
371 371
      */
372 372
     public function render()
373 373
     {
Please login to merge, or discard this patch.
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -67,12 +67,12 @@  discard block
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-    *  @private function getAdminPagesHeader
71
-    *  @param $moduleDirname
72
-    *  @param $tableName
73
-    *  @param $fieldId
74
-    *  @return string
75
-    */
70
+     *  @private function getAdminPagesHeader
71
+     *  @param $moduleDirname
72
+     *  @param $tableName
73
+     *  @param $fieldId
74
+     *  @return string
75
+     */
76 76
     private function getAdminPagesHeader($moduleDirname, $tableName, $fieldId)
77 77
     {
78 78
         $pc = TDMCreatePhpCode::getInstance();
@@ -190,15 +190,15 @@  discard block
 block discarded – undo
190 190
     }
191 191
 
192 192
     /**
193
-    *  @private function getPermissionsSave
194
-    *  @param $moduleDirname
195
-    *  @param $fieldId
196
-    *  @param $ccFieldId
197
-    *  @param $newFieldId
198
-    *  @param $perm
199
-    *
200
-    *  @return string
201
-    */
193
+     *  @private function getPermissionsSave
194
+     *  @param $moduleDirname
195
+     *  @param $fieldId
196
+     *  @param $ccFieldId
197
+     *  @param $newFieldId
198
+     *  @param $perm
199
+     *
200
+     *  @return string
201
+     */
202 202
     private function getPermissionsSave($moduleDirname, $fieldId, $ccFieldId, $newFieldId, $perm = 'view')
203 203
     {
204 204
         $pc = TDMCreatePhpCode::getInstance();
Please login to merge, or discard this patch.
class/files/admin/AdminPermissions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * @private function getPermissionsHeader
75 75
      *
76 76
      * @param $module
77
-     * @param $language
77
+     * @param string $language
78 78
      *
79 79
      * @return string
80 80
      */
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     /**
111 111
      *  @private function getPermissionsSwitch
112 112
      *  @param $moduleDirname
113
-     *  @param $language
113
+     *  @param string $language
114 114
      *
115 115
      *  @return string
116 116
      */
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      *
199 199
      *  @param null
200 200
      *
201
-     *  @return bool|string
201
+     *  @return null|string
202 202
      */
203 203
     public function render()
204 204
     {
Please login to merge, or discard this patch.
class/files/admin/AdminXoopsCode.php 2 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @public function getAdminTemplateMain
60 60
      * @param        $language
61 61
      * @param        $tableName
62
-     * @param        $stuTableSoleName
62
+     * @param        string $stuTableSoleName
63 63
      * @param string $op
64 64
      * @param string $type
65 65
      *
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * @public function getAxcAddInfoBox
97
-     * @param        $language
97
+     * @param        string $language
98 98
      *
99 99
      * @param string $t
100 100
      * @return string
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
     /**
108 108
      * @public function getAxcAddInfoBoxLine
109
-     * @param        $language
109
+     * @param        string $language
110 110
      * @param string $label
111 111
      * @param string $var
112 112
      *
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
     /**
129 129
      * @public function getAxcAddConfigBoxLine
130
-     * @param        $language
130
+     * @param        string $language
131 131
      * @param string $label
132 132
      * @param string $var
133 133
      *
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
     /**
236 236
      * @private function getAxcImageFileSetVar
237 237
      * @param        $moduleDirname
238
-     * @param        $dirname
238
+     * @param        string $dirname
239 239
      * @param        $tableName
240 240
      * @param        $fieldName
241 241
      * @param bool   $formatUrl
@@ -327,8 +327,8 @@  discard block
 block discarded – undo
327 327
     /**
328 328
      * @public function getAxcFetchMedia
329 329
      *
330
-     * @param        $anchor
331
-     * @param        $var
330
+     * @param        string $anchor
331
+     * @param        string $var
332 332
      *
333 333
      * @param string $t
334 334
      * @return string
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     /**
342 342
      * @public function getAxcSetPrefix
343 343
      *
344
-     * @param        $anchor
344
+     * @param        string $anchor
345 345
      * @param        $var
346 346
      *
347 347
      * @param string $t
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
 class AdminXoopsCode
29 29
 {
30 30
     /**
31
-    *  @static function getInstance
32
-    *  @param null
33
-    * @return AdminXoopsCode
34
-    */
31
+     *  @static function getInstance
32
+     *  @param null
33
+     * @return AdminXoopsCode
34
+     */
35 35
     public static function getInstance()
36 36
     {
37 37
         static $instance = false;
Please login to merge, or discard this patch.