Completed
Push — master ( 6f00b4...805ee0 )
by Gino
03:23
created
class/fields.php 1 patch
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -192,9 +192,9 @@  discard block
 block discarded – undo
192 192
     /**
193 193
      * @private function getFormNewLine
194 194
      *
195
-     * @param $form
196
-     * @param $class
197
-     * @param $i
195
+     * @param TDMCreateThemeForm $form
196
+     * @param string $class
197
+     * @param integer $i
198 198
      * @param $fieldMid
199 199
      * @param $fieldTid
200 200
      * @param $fName
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
     *  @param null
490 490
     */
491 491
     /**
492
-     * @param $form
492
+     * @param TDMCreateThemeForm $form
493 493
      *
494 494
      * @return mixed
495 495
      */
@@ -693,6 +693,10 @@  discard block
 block discarded – undo
693 693
 
694 694
     /**
695 695
      * Get Fields Criteria.
696
+     * @param integer $start
697
+     * @param integer $limit
698
+     * @param string $sort
699
+     * @param string $order
696 700
      */
697 701
     private function getFieldsCriteria($criteriaFields, $start, $limit, $sort, $order)
698 702
     {
Please login to merge, or discard this patch.
class/files/TDMCreateTableFields.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
     /**
31 31
      *  @public function constructor
32 32
      *
33
-     *  @param mixed $table
34 33
      */
35 34
     public function __construct()
36 35
     {
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/helper.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     *  @param mixed $debug
59 59
     */
60 60
     /**
61
-     * @param $debug
61
+     * @param boolean $debug
62 62
      */
63 63
     public function __construct($debug)
64 64
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     *  @param string $name
107 107
     */
108 108
     /**
109
-     * @param null $name
109
+     * @param string $name
110 110
      *
111 111
      * @return null|string
112 112
      */
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * @param null $name
140 140
      * @param null $value
141 141
      *
142
-     * @return mixed
142
+     * @return string
143 143
      */
144 144
     public function setConfig($name = null, $value = null)
145 145
     {
@@ -157,9 +157,9 @@  discard block
 block discarded – undo
157 157
     *  @param string $name
158 158
     */
159 159
     /**
160
-     * @param $name
160
+     * @param string $name
161 161
      *
162
-     * @return mixed
162
+     * @return string
163 163
      */
164 164
     public function &getHandler($name)
165 165
     {
Please login to merge, or discard this patch.
class/logoGenerator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      * @param $logoIcon
101 101
      * @param $moduleDirname
102 102
      *
103
-     * @return bool|string
103
+     * @return false|string
104 104
      */
105 105
     public static function createLogo($logoIcon, $moduleDirname)
106 106
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 
135 135
         // Write text
136 136
         $textColor = imagecolorallocate($imageModule, 0, 0, 0);
137
-        $spaceToBorder = (92 - strlen($moduleDirname) * 7.5) / 2;
137
+        $spaceToBorder = (92-strlen($moduleDirname) * 7.5) / 2;
138 138
         imagefttext($imageModule, 8.5, 0, $spaceToBorder, 45, $textColor, $font, ucfirst($moduleDirname), array());
139 139
 
140 140
         imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
Please login to merge, or discard this patch.
class/form/TDMCreateFormRadio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         }
64 64
         if (!empty($this->columns)) {
65 65
             if ($span = $i % $this->columns) {
66
-                $ret .= '<td colspan="'.($this->columns - $span).'"></td></tr>';
66
+                $ret .= '<td colspan="'.($this->columns-$span).'"></td></tr>';
67 67
             }
68 68
             $ret .= '</table>';
69 69
         }
Please login to merge, or discard this patch.
class/form/simpleform.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
                 $ret .= $ele->render();
47 47
             }
48 48
         }
49
-        $ret .=  NWLINE.'</form>';
49
+        $ret .= NWLINE.'</form>';
50 50
 
51 51
         return $ret;
52 52
     }
Please login to merge, or discard this patch.
class/SplClassLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
             $namespace = '';
142 142
             if (false !== ($lastNsPos = strripos($className, $this->_namespaceSeparator))) {
143 143
                 $namespace = substr($className, 0, $lastNsPos);
144
-                $className = substr($className, $lastNsPos + 1);
144
+                $className = substr($className, $lastNsPos+1);
145 145
                 $fileName = str_replace($this->_namespaceSeparator, DIRECTORY_SEPARATOR, $namespace).DIRECTORY_SEPARATOR;
146 146
             }
147 147
             $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className).$this->_fileExtension;
Please login to merge, or discard this patch.
class/modules.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@
 block discarded – undo
415 415
         $imageIcon = imagecreatefrompng($iconFile);
416 416
         // Write text
417 417
         $textColor = imagecolorallocate($imageModule, 0, 0, 0);
418
-        $spaceBorder = (92 - strlen($moduleDirname) * 7.5) / 2;
418
+        $spaceBorder = (92-strlen($moduleDirname) * 7.5) / 2;
419 419
         imagefttext($imageModule, 8.5, 0, $spaceBorder, 45, $textColor, $font, ucfirst($moduleDirname), array());
420 420
         imagecopy($imageModule, $imageIcon, 29, 2, 0, 0, 32, 32);
421 421
         $logoImg = '/'.$moduleDirname.'_logo.png';
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
      * @param $logoIcon
376 376
      * @param $moduleDirname
377 377
      *
378
-     * @return bool|string
378
+     * @return false|string
379 379
      */
380 380
     private static function createLogo($logoIcon, $moduleDirname)
381 381
     {
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
 
457 457
     /**
458 458
      * Get Defined Language.
459
-     * @param $lang
459
+     * @param string $lang
460 460
      *
461 461
      * @return string
462 462
      */
@@ -574,10 +574,10 @@  discard block
 block discarded – undo
574 574
     /**
575 575
      * Get Modules Criteria.
576 576
      * @param $criteriaModules
577
-     * @param $start
578
-     * @param $limit
579
-     * @param $sort
580
-     * @param $order
577
+     * @param integer $start
578
+     * @param integer $limit
579
+     * @param string $sort
580
+     * @param string $order
581 581
      * @return
582 582
      */
583 583
     private function getModulesCriteria($criteriaModules, $start, $limit, $sort, $order)
Please login to merge, or discard this patch.