Completed
Pull Request — master (#133)
by Gino
03:09
created
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/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.