Passed
Pull Request — master (#137)
by Goffy
02:45
created
class/files/TDMCreatePhpCode.php 1 patch
Doc Comments   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
     /**
108 108
     *  @public function getPhpCodeGlobals
109
-    *  @param $var
109
+    *  @param string $var
110 110
     *  @param $value
111 111
     *
112 112
     *  @return string
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
     /**
126 126
     *  @public function getPhpCodeGlobalsVariables
127
-    *  @param $var
127
+    *  @param string $var
128 128
     *  @param $type
129 129
     *
130 130
     *  @return string
@@ -161,10 +161,10 @@  discard block
 block discarded – undo
161 161
 
162 162
     /**
163 163
      * @public function getPhpCodeRemoveCarriageReturn
164
-     * @param        $string
164
+     * @param        string $string
165 165
      *
166
-     * @param string $n
167
-     * @param string $t
166
+     * @param string string
167
+     * @param string string
168 168
      * @return string
169 169
      */
170 170
     public function getPhpCodeRemoveCarriageReturn($string, $n = "\n", $t = "\r")
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     /**
187 187
      * @public function getPhpCodeIncludeDir
188 188
      * @param        $directory
189
-     * @param        $filename
189
+     * @param        string $filename
190 190
      * @param bool   $once
191 191
      * @param bool   $isPath
192 192
      *
@@ -234,8 +234,8 @@  discard block
 block discarded – undo
234 234
     /**
235 235
     *  @public function getPhpCodeClass
236 236
     *  @param $name
237
-    *  @param $content
238
-    *  @param $extends
237
+    *  @param string $content
238
+    *  @param string $extends
239 239
     *  @param $type
240 240
     *
241 241
     *  @return string
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
     *  @public function getPhpCodeClass
257 257
     *  @param $type
258
-    *  @param $name
258
+    *  @param string $name
259 259
     *  @param $assign
260 260
     *  @param $t - Indentation
261 261
     *
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
      * @param        $name
272 272
      * @param        $params
273 273
      * @param        $content
274
-     * @param        $method
274
+     * @param        string $method
275 275
      * @param bool   $isRef
276 276
      * @param string $t - Indentation
277 277
      * @return string
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
      * @param string $operator
295 295
      * @param string $type
296 296
      * @param string $contentIf
297
-     * @param mixed  $contentElse
297
+     * @param string|false  $contentElse
298 298
      * @param $t - Indentation
299 299
      *
300 300
      * @return string
@@ -388,8 +388,8 @@  discard block
 block discarded – undo
388 388
     /**
389 389
      *  @public function getPhpCodeSwitch
390 390
      *
391
-     *  @param $op
392
-     *  @param $content
391
+     *  @param string $op
392
+     *  @param string $content
393 393
      *  @param $t
394 394
      *
395 395
      *  @return string
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
 
445 445
     /**
446 446
     *  @public function getPhpCodeIsset
447
-    *  @param $var
447
+    *  @param string $var
448 448
     *  @return string
449 449
     */
450 450
     public function getPhpCodeIsset($var)
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
 
466 466
     /**
467 467
     *  @public function getPhpCodeIsDir
468
-    *  @param $var
468
+    *  @param string $var
469 469
     *  @return string
470 470
     */
471 471
     public function getPhpCodeIsDir($var)
@@ -475,8 +475,8 @@  discard block
 block discarded – undo
475 475
 
476 476
     /**
477 477
     *  @public function getPhpCodeImplode
478
-    *  @param $left
479
-    *  @param $right
478
+    *  @param string $left
479
+    *  @param string $right
480 480
     *  @return string
481 481
     */
482 482
     public function getPhpCodeImplode($left, $right)
@@ -521,7 +521,7 @@  discard block
 block discarded – undo
521 521
 
522 522
     /**
523 523
      * @public function getPhpCodeCopy
524
-     * @param        $file
524
+     * @param        string $file
525 525
      * @param string $newfile
526 526
      * @param string $t
527 527
      * @return string
@@ -569,9 +569,9 @@  discard block
 block discarded – undo
569 569
     /**
570 570
      * @public function getPhpCodeArrayType
571 571
      * @param        $var
572
-     * @param        $type
572
+     * @param        string $type
573 573
      * @param        $left
574
-     * @param        $right
574
+     * @param        string $right
575 575
      * @param bool   $isParam
576 576
      *
577 577
      * @param string $t
@@ -632,10 +632,10 @@  discard block
 block discarded – undo
632 632
 
633 633
     /**
634 634
      * @public function getPhpCodePregFunzions
635
-     * @param        $var
636
-     * @param        $exp
637
-     * @param        $str
638
-     * @param        $val
635
+     * @param        string $var
636
+     * @param        string $exp
637
+     * @param        string $str
638
+     * @param        string $val
639 639
      * @param string $type
640 640
      * @param bool   $isParam
641 641
      *
Please login to merge, or discard this patch.
class/logoGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * @param $logoIcon
50 50
      * @param $moduleName
51 51
      *
52
-     * @return bool|string
52
+     * @return false|string
53 53
      */
54 54
     public static function createLogo($logoIcon, $moduleName)
55 55
     {
Please login to merge, or discard this patch.