Completed
Push — master ( 3f0046...b1c777 )
by Gino
06:41 queued 03:19
created
class/files/sql/SqlFile.php 1 patch
Doc Comments   +19 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * @param $module
70 70
      * @param $tables
71
-     * @param $filename
71
+     * @param string $filename
72 72
      */
73 73
     public function write($module, $tables, $filename)
74 74
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     *  @param $moduleName
83 83
     */
84 84
     /**
85
-     * @param $moduleName
85
+     * @param string $moduleName
86 86
      *
87 87
      * @return string
88 88
      */
@@ -135,6 +135,10 @@  discard block
 block discarded – undo
135 135
     *  @param $moduleDirname
136 136
     *  @return null|string
137 137
     */
138
+
139
+    /**
140
+     * @param string $moduleDirname
141
+     */
138 142
     private function getDatabaseTables($moduleDirname)
139 143
     {
140 144
         $ret = null;
@@ -351,6 +355,10 @@  discard block
 block discarded – undo
351 355
     *  @param $autoincrement
352 356
     *  @return string
353 357
     */
358
+
359
+    /**
360
+     * @param string $autoincrement
361
+     */
354 362
     private function getFieldRow($fieldName, $fieldTypeValue, $fieldAttribute = null, $fieldNull = null, $fieldDefault = null, $autoincrement = null)
355 363
     {
356 364
         $retAutoincrement = <<<SQL
@@ -381,6 +389,10 @@  discard block
 block discarded – undo
381 389
     *  @private function getKey
382 390
     *  @return string
383 391
     */
392
+
393
+    /**
394
+     * @param integer $key
395
+     */
384 396
     private function getKey($key, $fieldName)
385 397
     {
386 398
         switch ($key) {
@@ -420,6 +432,11 @@  discard block
 block discarded – undo
420 432
     *  @param $comma
421 433
     *  @return string
422 434
     */
435
+
436
+    /**
437
+     * @param boolean $row
438
+     * @param string $comma
439
+     */
423 440
     private function getComma($row, $comma = null)
424 441
     {
425 442
         $ret = <<<SQL
Please login to merge, or discard this patch.
class/files/templates/admin/TemplatesAdminPages.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -255,6 +255,10 @@
 block discarded – undo
255 255
     *  @param $filename
256 256
     *  @return bool|string
257 257
     */
258
+
259
+    /**
260
+     * @param string $filename
261
+     */
258 262
     public function renderFile($filename)
259 263
     {
260 264
         $module = $this->getModule();
Please login to merge, or discard this patch.
class/files/templates/blocks/TemplatesBlocks.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * @param $moduleDirname
85 85
      * @param $table
86
-     * @param $language
86
+     * @param string $language
87 87
      *
88 88
      * @return string
89 89
      */
@@ -109,9 +109,10 @@  discard block
 block discarded – undo
109 109
     *  @param string $language
110 110
     */
111 111
     /**
112
-     * @param $moduleDirname
112
+     * @param string $moduleDirname
113 113
      * @param $table
114
-     * @param $language
114
+     * @param string $language
115
+     * @param string $tableName
115 116
      *
116 117
      * @return string
117 118
      */
@@ -227,7 +228,7 @@  discard block
 block discarded – undo
227 228
     *  @param string $filename
228 229
     */
229 230
     /**
230
-     * @param $filename
231
+     * @param string $filename
231 232
      *
232 233
      * @return bool|string
233 234
      */
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserBreadcrumbs.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     *  @param null
48 48
     */
49 49
     /**
50
-     * @return TemplatesUserHeader
50
+     * @return TemplatesUserBreadcrumbs
51 51
      */
52 52
     public static function &getInstance()
53 53
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * @param $module
70 70
      * @param $tables
71
-     * @param $filename
71
+     * @param string $filename
72 72
      */
73 73
     public function write($module, $filename)
74 74
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserBroken.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * @param $moduleDirname
100 100
      * @param $table
101
-     * @param $language
101
+     * @param string $language
102 102
      *
103 103
      * @return string
104 104
      */
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * @param $moduleDirname
130 130
      * @param $table
131
-     * @param $language
131
+     * @param string $language
132 132
      *
133 133
      * @return string
134 134
      */
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     *  @param string $filename
186 186
     */
187 187
     /**
188
-     * @param $filename
188
+     * @param string $filename
189 189
      *
190 190
      * @return bool|string
191 191
      */
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserHeader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * @param $module
70 70
      * @param $tables
71
-     * @param $filename
71
+     * @param string $filename
72 72
      */
73 73
     public function write($module, $filename)
74 74
     {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     *  @param null
82 82
     */
83 83
     /**
84
-     * @return bool|string
84
+     * @return string
85 85
      */
86 86
     public function getTemplatesUserHeader($moduleDirname)
87 87
     {
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserIndex.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @param $module
66 66
      * @param $table
67
-     * @param $filename
67
+     * @param string $filename
68 68
      */
69 69
     public function write($module, $table, $tables, $filename)
70 70
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     *  @param $moduleDirname
80 80
     */
81 81
     /**
82
-     * @return bool|string
82
+     * @return string
83 83
      */
84 84
     public function getTemplateUserIndexHeader($moduleDirname)
85 85
     {
@@ -177,7 +177,8 @@  discard block
 block discarded – undo
177 177
     *  @param null
178 178
     */
179 179
     /**
180
-     * @return bool|string
180
+     * @param string $language
181
+     * @return string
181 182
      */
182 183
     public function getTemplatesUserIndexBodyDefault($module, $table, $language)
183 184
     {
@@ -231,7 +232,8 @@  discard block
 block discarded – undo
231 232
     *  @param null
232 233
     */
233 234
     /**
234
-     * @return bool|string
235
+     * @param string $language
236
+     * @return string
235 237
      */
236 238
     public function getTemplateUserIndexCategories($moduleDirname, $tableName, $tableSoleName, $language)
237 239
     {
@@ -281,6 +283,7 @@  discard block
 block discarded – undo
281 283
     *  @param null
282 284
     */
283 285
     /**
286
+     * @param string $language
284 287
      * @return bool|string
285 288
      */
286 289
     public function getTemplateUserIndexTable($moduleDirname, $tableName, $tableSoleName, $language)
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserPages.php 1 patch
Doc Comments   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -112,7 +112,8 @@  discard block
 block discarded – undo
112 112
     *  @param string $language
113 113
     */
114 114
     /**
115
-     * @param $language
115
+     * @param string $language
116
+     * @param string $tableName
116 117
      *
117 118
      * @return string
118 119
      */
@@ -134,9 +135,10 @@  discard block
 block discarded – undo
134 135
     *  @param string $language
135 136
     */
136 137
     /**
137
-     * @param $moduleDirname
138
+     * @param string $moduleDirname
138 139
      * @param $table
139
-     * @param $language
140
+     * @param string $language
141
+     * @param string $tableName
140 142
      *
141 143
      * @return string
142 144
      */
@@ -180,7 +182,7 @@  discard block
 block discarded – undo
180 182
     *  @param string $language
181 183
     */
182 184
     /**
183
-     * @param $language
185
+     * @param string $language
184 186
      *
185 187
      * @return string
186 188
      */
@@ -211,7 +213,7 @@  discard block
 block discarded – undo
211 213
     *  @param string $filename
212 214
     */
213 215
     /**
214
-     * @param $filename
216
+     * @param string $filename
215 217
      *
216 218
      * @return bool|string
217 219
      */
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserPagesList.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,6 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * @param $module
70 70
      * @param $table
71
+     * @param string $filename
71 72
      */
72 73
     public function write($module, $table, $tables, $filename)
73 74
     {
@@ -262,7 +263,7 @@  discard block
 block discarded – undo
262 263
     /**
263 264
      * @param $moduleDirname
264 265
      * @param $table
265
-     * @param $language
266
+     * @param string $language
266 267
      *
267 268
      * @return string
268 269
      */
Please login to merge, or discard this patch.