Passed
Push — master ( dc1f79...43726e )
by Goffy
02:26
created
class/files/user/UserSearch.php 2 patches
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -28,19 +28,19 @@  discard block
 block discarded – undo
28 28
 class UserSearch extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
32
+     */
33 33
     private $usercode = null;
34 34
 
35 35
     /**
36
-    * @var string
37
-    */
36
+     * @var string
37
+     */
38 38
     private $xoopscode = 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
     {
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-    *  @static function getInstance
55
-    *  @param null
54
+     *  @static function getInstance
55
+     *  @param null
56 56
      * @return UserSearch
57 57
      */
58 58
     public static function getInstance()
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-    *  @public function write
70
-    *  @param string $module
71
-    *  @param mixed $table
72
-    *  @param string $filename
69
+     *  @public function write
70
+     *  @param string $module
71
+     *  @param mixed $table
72
+     *  @param string $filename
73 73
      */
74 74
     public function write($module, $table, $filename)
75 75
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-    *  @public function getAdminPagesList
117
+     *  @public function getAdminPagesList
118 118
      * @param $moduleDirname
119 119
      * @param $tableName
120 120
      * @param $language
@@ -159,8 +159,8 @@  discard block
 block discarded – undo
159 159
     }
160 160
 
161 161
     /**
162
-    *  @public function render
163
-    *  @param null
162
+     *  @public function render
163
+     *  @param null
164 164
      * @return bool|string
165 165
      */
166 166
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     *  @public function getAdminPagesList
118 118
      * @param $moduleDirname
119 119
      * @param $tableName
120
-     * @param $language
120
+     * @param string $language
121 121
      * @return string
122 122
      */
123 123
     public function getUserSearch($moduleDirname, $tableName, $language)
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      *
136 136
      * @param $moduleDirname
137 137
      * @param $tableName
138
-     * @param $language
138
+     * @param string $language
139 139
      *
140 140
      * @return string
141 141
      */
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
     *  @public function render
163 163
     *  @param null
164
-     * @return bool|string
164
+     * @return null|string
165 165
      */
166 166
     public function render()
167 167
     {
Please login to merge, or discard this patch.
class/files/user/UserListTag.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserListTag 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
     {
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    *  @static function getInstance
43
-    *  @param null
42
+     *  @static function getInstance
43
+     *  @param null
44 44
      * @return UserListTag
45 45
      */
46 46
     public static function getInstance()
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-    *  @public function write
58
-    *  @param string $module
59
-    *  @param string $filename
57
+     *  @public function write
58
+     *  @param string $module
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $filename)
62 62
     {
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-    *  @public function getUserListTag
69
-    *  @param null
68
+     *  @public function getUserListTag
69
+     *  @param null
70 70
      * @return string
71 71
      */
72 72
     public function getUserListTag()
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
     }
79 79
 
80 80
     /**
81
-    *  @public function render
82
-    *  @param null
81
+     *  @public function render
82
+     *  @param null
83 83
      * @return bool|string
84 84
      */
85 85
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
class/files/user/UserNotificationUpdate.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class UserNotificationUpdate 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
     {
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    *  @static function getInstance
43
-    *  @param null
42
+     *  @static function getInstance
43
+     *  @param null
44 44
      * @return UserNotificationUpdate
45 45
      */
46 46
     public static function getInstance()
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-    *  @public function write
58
-    *  @param string $module
59
-    *  @param string $filename
57
+     *  @public function write
58
+     *  @param string $module
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $filename)
62 62
     {
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-    *  @public function render
69
-    *  @param null
68
+     *  @public function render
69
+     *  @param null
70 70
      * @return bool|string
71 71
      */
72 72
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
class/files/admin/AdminIndex.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
     *  @public function render
76 76
     *  @param null
77
-    * @return bool|string
77
+    * @return null|string
78 78
     */
79 79
     public function render()
80 80
     {
Please login to merge, or discard this patch.
class/files/admin/AdminAbout.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
     *  @public function render
76 76
     *  @param null
77
-    * @return bool|string
77
+    * @return null|string
78 78
     */
79 79
     public function render()
80 80
     {
Please login to merge, or discard this patch.
class/files/admin/AdminHeader.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 class AdminHeader extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
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,8 +45,8 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-    *  @static function getInstance
49
-    *  @param null
48
+     *  @static function getInstance
49
+     *  @param null
50 50
      * @return AdminHeader
51 51
      */
52 52
     public static function getInstance()
@@ -60,12 +60,12 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-    *  @public function write
64
-    *  @param string $module
65
-    *  @param mixed $table
66
-    *  @param array $tables
67
-    *  @param string $filename
68
-    */
63
+     *  @public function write
64
+     *  @param string $module
65
+     *  @param mixed $table
66
+     *  @param array $tables
67
+     *  @param string $filename
68
+     */
69 69
     public function write($module, $table, $tables, $filename)
70 70
     {
71 71
         $this->setModule($module);
@@ -136,8 +136,8 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
     /**
139
-    *  @public function render
140
-    *  @param null
139
+     *  @public function render
140
+     *  @param null
141 141
      * @return bool|string
142 142
      */
143 143
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
class/files/language/LanguageHelp.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class LanguageHelp 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
     {
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    *  @static function getInstance
43
-    *  @param null
42
+     *  @static function getInstance
43
+     *  @param null
44 44
      * @return LanguageHelp
45 45
      */
46 46
     public static function getInstance()
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-    *  @public function write
58
-    *  @param string $module
59
-    *  @param string $filename
57
+     *  @public function write
58
+     *  @param string $module
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $filename)
62 62
     {
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-    *  @public function render
69
-    *  @param null
68
+     *  @public function render
69
+     *  @param null
70 70
      * @return bool|string
71 71
      */
72 72
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
class/files/language/LanguageAdmin.php 3 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class LanguageAdmin 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
     {
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    *  @static function getInstance
43
-    *  @param null
42
+     *  @static function getInstance
43
+     *  @param null
44 44
      * @return LanguageAdmin
45 45
      */
46 46
     public static function getInstance()
@@ -69,11 +69,11 @@  discard block
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-    *  @public function getLanguageAdminIndex
73
-    *  @param string $language
74
-    *  @param string $tables
75
-    *  @return string
76
-    */
72
+     *  @public function getLanguageAdminIndex
73
+     *  @param string $language
74
+     *  @param string $tables
75
+     *  @return string
76
+     */
77 77
     public function getLanguageAdminIndex($language, $tables)
78 78
     {
79 79
         $ret = $this->defines->getAboveHeadDefines('Admin Index');
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-    *  @public function getLanguageAdminPages
94
-    *  @param string $language
95
-    *  @param string $tables
96
-    *  @return string
97
-    */
93
+     *  @public function getLanguageAdminPages
94
+     *  @param string $language
95
+     *  @param string $tables
96
+     *  @return string
97
+     */
98 98
     public function getLanguageAdminPages($language, $tables)
99 99
     {
100 100
         $ret = $this->defines->getAboveHeadDefines('Admin Files');
@@ -132,11 +132,11 @@  discard block
 block discarded – undo
132 132
     }
133 133
 
134 134
     /**
135
-    *  @public function getLanguageAdminClass
136
-    *  @param string $language
137
-    *  @param string $tables
138
-    *  @return string
139
-    */
135
+     *  @public function getLanguageAdminClass
136
+     *  @param string $language
137
+     *  @param string $tables
138
+     *  @return string
139
+     */
140 140
     public function getLanguageAdminClass($language, $tables)
141 141
     {
142 142
         $ret = $this->defines->getAboveHeadDefines('Admin Classes');
@@ -206,10 +206,10 @@  discard block
 block discarded – undo
206 206
     }
207 207
 
208 208
     /**
209
-    *  @public function getLanguageAdminPermissions
210
-    *  @param string $language
211
-    *  @return string
212
-    */
209
+     *  @public function getLanguageAdminPermissions
210
+     *  @param string $language
211
+     *  @return string
212
+     */
213 213
     public function getLanguageAdminPermissions($language)
214 214
     {
215 215
         $ret = $this->defines->getAboveHeadDefines('Admin Permissions');
@@ -231,10 +231,10 @@  discard block
 block discarded – undo
231 231
     }
232 232
 
233 233
     /**
234
-    *  @public function getLanguageAdminFoot
235
-    *  @param string $language
236
-    *  @return string
237
-    */
234
+     *  @public function getLanguageAdminFoot
235
+     *  @param string $language
236
+     *  @return string
237
+     */
238 238
     public function getLanguageAdminFoot($language)
239 239
     {
240 240
         $ret = $this->defines->getAboveHeadDefines('Admin Others');
@@ -245,8 +245,8 @@  discard block
 block discarded – undo
245 245
     }
246 246
 
247 247
     /**
248
-    *  @public function render
249
-    *  @param null
248
+     *  @public function render
249
+     *  @param null
250 250
      * @return bool|string
251 251
      */
252 252
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,9 @@
 block discarded – undo
151 151
             $fields = $this->getTableFields($tableMid, $tableId);
152 152
             $fieldInForm = 0;
153 153
             foreach (array_keys($fields) as $f) {
154
-                if ($fieldInForm < $fields[$f]->getVar('field_inform')) $fieldInForm = $fields[$f]->getVar('field_inform');
154
+                if ($fieldInForm < $fields[$f]->getVar('field_inform')) {
155
+                    $fieldInForm = $fields[$f]->getVar('field_inform');
156
+                }
155 157
             }
156 158
             if (1 == $fieldInForm) {
157 159
                 $ret .= $this->defines->getAboveDefines("{$ucfTableSoleName} add/edit");
Please login to merge, or discard this patch.
class/files/language/LanguageBlocks.php 2 patches
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 LanguageBlocks 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
     {
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    *  @static function getInstance
43
-    *  @param null
42
+     *  @static function getInstance
43
+     *  @param null
44 44
      * @return LanguageBlocks
45 45
      */
46 46
     public static function getInstance()
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-    *  @public function write
58
-    *  @param string $module
59
-    *  @param mixed $tables
60
-    *  @param string $filename
57
+     *  @public function write
58
+     *  @param string $module
59
+     *  @param mixed $tables
60
+     *  @param string $filename
61 61
      */
62 62
     public function write($module, $tables, $filename)
63 63
     {
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-    *  @private function getLanguageBlock
71
-    *  @param string $language
72
-    *  @param string $module
70
+     *  @private function getLanguageBlock
71
+     *  @param string $language
72
+     *  @param string $module
73 73
      *
74 74
      * @return string
75 75
      */
@@ -103,8 +103,8 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-    *  @private function getFooter
107
-    *  @param null
106
+     *  @private function getFooter
107
+     *  @param null
108 108
      * @return string
109 109
      */
110 110
     private function getLanguageFooter()
@@ -115,8 +115,8 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-    *  @public function render
119
-    *  @param null
118
+     *  @public function render
119
+     *  @param null
120 120
      * @return bool|string
121 121
      */
122 122
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.