Completed
Pull Request — master (#332)
by Michael
09:54
created
htdocs/class/auth/auth_ads.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,9 +108,9 @@
 block discarded – undo
108 108
      *         looks like an email address.  Very useful for logging on especially in
109 109
      *         a large Forest.   Note UPN must be unique in the forest.
110 110
      *
111
-     * @param $uname
111
+     * @param string|null $uname
112 112
      *
113
-     * @return userDN or false
113
+     * @return string or false
114 114
      */
115 115
     public function getUPN($uname)
116 116
     {
Please login to merge, or discard this patch.
htdocs/class/auth/auth_ldap.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     /**
190 190
      * XoopsAuthLdap::cp1252_to_utf8()
191 191
      *
192
-     * @param mixed $str
192
+     * @param string $str
193 193
      *
194 194
      * @return string
195 195
      */
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     /**
250 250
      * Compose the user DN with the configuration.
251 251
      *
252
-     * @param $uname
252
+     * @param string|null $uname
253 253
      * @return userDN or false
254 254
      */
255 255
     public function getUserDN($uname)
@@ -299,8 +299,8 @@  discard block
 block discarded – undo
299 299
      * XoopsAuthLdap::loadXoopsUser()
300 300
      *
301 301
      * @param  mixed $userdn
302
-     * @param  mixed $uname
303
-     * @param  mixed $pwd
302
+     * @param  string|null $uname
303
+     * @param  string|null $pwd
304 304
      * @return bool
305 305
      */
306 306
     public function loadXoopsUser($userdn, $uname, $pwd = null)
Please login to merge, or discard this patch.