Completed
Push — master ( a041ab...7e66c0 )
by Gino
04:49 queued 01:03
created
class/files/user/UserRate.php 2 patches
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     *  @param string $filename
77 77
     */
78 78
     /**
79
-     * @param $module
79
+     * @param string $module
80 80
      * @param $table
81
-     * @param $filename
81
+     * @param string $filename
82 82
      */
83 83
     public function write($module, $table, $filename)
84 84
     {
@@ -119,6 +119,10 @@  discard block
 block discarded – undo
119 119
      *
120 120
      * @return string
121 121
      */
122
+
123
+    /**
124
+     * @param string $language
125
+     */
122 126
     private function getUserRateSwitch($moduleDirname, $tableId, $tableMid, $tableName, $tableAutoincrement, $language)
123 127
     {
124 128
         $fields = $this->getTableFields($tableMid, $tableId);
@@ -197,6 +201,7 @@  discard block
 block discarded – undo
197 201
     *  @param null
198 202
     */
199 203
     /**
204
+     * @param string $language
200 205
      * @return string
201 206
      */
202 207
     public function getUserRateFooter($moduleDirname, $language)
@@ -214,7 +219,7 @@  discard block
 block discarded – undo
214 219
     *  @param null
215 220
     */
216 221
     /**
217
-     * @return bool|string
222
+     * @return null|string
218 223
      */
219 224
     public function render()
220 225
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     {
110 110
         $fields = $this->getTableFields($tableMid, $tableId);
111 111
         $cases = array('form' => array($this->getUserRateForm($tableName, $language)),
112
-                    'save' => array($this->getUserRateSave($moduleDirname, $fields, $tableName, $tableSolename, $tableAutoincrement, $language)), );
112
+                    'save' => array($this->getUserRateSave($moduleDirname, $fields, $tableName, $tableSolename, $tableAutoincrement, $language)),);
113 113
 
114 114
         return $this->xc->getXcSwitch('op', $cases, true);
115 115
     }
Please login to merge, or discard this patch.
class/files/user/UserSingle.php 1 patch
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,9 +63,9 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
66
+     * @param string $module
67 67
      * @param $table
68
-     * @param $filename
68
+     * @param string $filename
69 69
      */
70 70
     public function write($module, $table, $filename)
71 71
     {
@@ -118,6 +118,10 @@  discard block
 block discarded – undo
118 118
      *
119 119
      * @return string
120 120
      */
121
+
122
+    /**
123
+     * @param string $language
124
+     */
121 125
     public function getUserSingleBody($moduleDirname, $tableName, $language)
122 126
     {
123 127
         $ret = <<<EOT
@@ -133,7 +137,7 @@  discard block
 block discarded – undo
133 137
      *
134 138
      * @param $moduleDirname
135 139
      * @param $tableName
136
-     * @param $language
140
+     * @param string $language
137 141
      *
138 142
      * @return string
139 143
      */
@@ -164,7 +168,7 @@  discard block
 block discarded – undo
164 168
     *  @param null
165 169
     */
166 170
     /**
167
-     * @return bool|string
171
+     * @return null|string
168 172
      */
169 173
     public function render()
170 174
     {
Please login to merge, or discard this patch.
class/files/user/UserVisit.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     *  @param string $filename
77 77
     */
78 78
     /**
79
-     * @param $module
79
+     * @param string $module
80 80
      * @param $table
81
-     * @param $filename
81
+     * @param string $filename
82 82
      */
83 83
     public function write($module, $table, $filename)
84 84
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     *  @param null
164 164
     */
165 165
     /**
166
-     * @return bool|string
166
+     * @return null|string
167 167
      */
168 168
     public function render()
169 169
     {
Please login to merge, or discard this patch.
class/files/user/UserXoopsCode.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @param string $type
64 64
      * @param        $language
65
-     * @param        $tableName
65
+     * @param        string $tableName
66 66
      *
67 67
      * @return string
68 68
      */
@@ -126,6 +126,7 @@  discard block
 block discarded – undo
126 126
      *  @public function getUserBreadcrumbs
127 127
      *
128 128
      * @param $moduleDirname
129
+     * @param string $language
129 130
      *
130 131
      * @return string
131 132
      */
@@ -162,7 +163,7 @@  discard block
 block discarded – undo
162 163
      *
163 164
      * @param int    $eleArray
164 165
      * @param        $descriptions
165
-     * @param null   $name
166
+     * @param string   $name
166 167
      * @param null   $index
167 168
      * @param bool   $num
168 169
      * @param string $t
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserCategories.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
         $hc = TDMCreateHtmlSmartyCodes::getInstance();
234 234
         $incl = $hc->getSmartyIncludeFileListForeach($moduleDirname, $tableName, $tableSoleName).PHP_EOL;
235 235
         $html = $hc->getHtmlEmpty('<br />').PHP_EOL;
236
-        $incl     .= $hc->getSmartyConditions($tableSoleName.'.count', ' is div by ', '$numb_col', $html).PHP_EOL;
236
+        $incl .= $hc->getSmartyConditions($tableSoleName.'.count', ' is div by ', '$numb_col', $html).PHP_EOL;
237 237
         $const = $hc->getSmartyConst($language, $stuTableName.'_TITLE');
238 238
         $div = $hc->getHtmlDiv($const, 'panel-heading').PHP_EOL;
239 239
         $cont = $hc->getHtmlDiv($incl, 'panel panel-body').PHP_EOL;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,8 +63,9 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
66
+     * @param string $module
67 67
      * @param $table
68
+     * @param string $filename
68 69
      */
69 70
     public function write($module, $table, $filename)
70 71
     {
@@ -100,7 +101,7 @@  discard block
 block discarded – undo
100 101
     */
101 102
     /**
102 103
      * @param $moduleDirname
103
-     * @param $language
104
+     * @param string $language
104 105
      *
105 106
      * @return string
106 107
      */
@@ -150,7 +151,7 @@  discard block
 block discarded – undo
150 151
     /**
151 152
      * @param $filename
152 153
      *
153
-     * @return bool|string
154
+     * @return null|string
154 155
      */
155 156
     public function render()
156 157
     {
Please login to merge, or discard this patch.
class/files/assets/css/CssSelectors.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -53,36 +53,36 @@
 block discarded – undo
53 53
      */
54 54
     public function geCssComment($comment, $t)
55 55
     {
56
-		$ret = ('' != $comment) ? "{$t}/* {$comment} */" : '';
56
+        $ret = ('' != $comment) ? "{$t}/* {$comment} */" : '';
57 57
 		
58
-		return $ret;
58
+        return $ret;
59 59
     }
60 60
 	
61
-	/**
61
+    /**
62 62
      * @public function geCssSelector
63 63
      * @param string $selector
64 64
      * @param mixed $content
65
-	 * @param string $t
65
+     * @param string $t
66 66
      *
67 67
      * @param $selector
68 68
      * @param $content
69
-	 * @param $t
69
+     * @param $t
70 70
      */
71 71
     public function geCssSelector($selector, $content, $t)
72 72
     {
73 73
         $ret = '';
74
-		if(is_array($selector)) {
75
-			$ret .= $t. implode("\n", $selector) . ' {';
76
-		} else {
77
-			$ret .= $selector ' {';
78
-		}		
79
-		if(is_array($content)) {
80
-			$ret .= $t. implode("\n", $content) . ';';
81
-		} else {
82
-			$ret .= $content . ';';
83
-		}
84
-		$ret = '}';
74
+        if(is_array($selector)) {
75
+            $ret .= $t. implode("\n", $selector) . ' {';
76
+        } else {
77
+            $ret .= $selector ' {';
78
+        }		
79
+        if(is_array($content)) {
80
+            $ret .= $t. implode("\n", $content) . ';';
81
+        } else {
82
+            $ret .= $content . ';';
83
+        }
84
+        $ret = '}';
85 85
 		
86
-		return $ret;
86
+        return $ret;
87 87
     }
88 88
 }
89 89
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -71,15 +71,15 @@
 block discarded – undo
71 71
     public function geCssSelector($selector, $content, $t)
72 72
     {
73 73
         $ret = '';
74
-		if(is_array($selector)) {
75
-			$ret .= $t. implode("\n", $selector) . ' {';
74
+		if (is_array($selector)) {
75
+			$ret .= $t.implode("\n", $selector).' {';
76 76
 		} else {
77 77
 			$ret .= $selector ' {';
78 78
 		}		
79
-		if(is_array($content)) {
80
-			$ret .= $t. implode("\n", $content) . ';';
79
+		if (is_array($content)) {
80
+			$ret .= $t.implode("\n", $content).';';
81 81
 		} else {
82
-			$ret .= $content . ';';
82
+			$ret .= $content.';';
83 83
 		}
84 84
 		$ret = '}';
85 85
 		
Please login to merge, or discard this patch.
class/files/admin/AdminAbout.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
67
-     * @param $filename
66
+     * @param string $module
67
+     * @param string $filename
68 68
      */
69 69
     public function write($module, $filename)
70 70
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     *  @param null
78 78
     */
79 79
     /**
80
-     * @return bool|string
80
+     * @return null|string
81 81
      */
82 82
     public function render()
83 83
     {
Please login to merge, or discard this patch.
class/files/admin/AdminFooter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
     *  @param string $filename
64 64
     */
65 65
     /**
66
-     * @param $module
67
-     * @param $filename
66
+     * @param string $module
67
+     * @param string $filename
68 68
      */
69 69
     public function write($module, $filename)
70 70
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     *  @param null
78 78
     */
79 79
     /**
80
-     * @return bool|string
80
+     * @return null|string
81 81
      */
82 82
     public function render()
83 83
     {
Please login to merge, or discard this patch.
class/files/admin/AdminHeader.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     *  @param string $filename
77 77
     */
78 78
     /**
79
-     * @param $module
79
+     * @param string $module
80 80
      * @param $table
81
-     * @param $filename
81
+     * @param string $filename
82 82
      */
83 83
     public function write($module, $table, $filename)
84 84
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     *  @param null
164 164
     */
165 165
     /**
166
-     * @return bool|string
166
+     * @return null|string
167 167
      */
168 168
     public function render()
169 169
     {
Please login to merge, or discard this patch.