Completed
Push — master ( 6f00b4...805ee0 )
by Gino
03:23
created
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.
class/files/admin/AdminIndex.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/blocks/BlocksFiles.php 1 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/include/IncludeFunctions.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.