Completed
Push — duchon-acl_list_xmlrpc ( 8059c1 )
by Gerrit
05:41
created
inc/remote.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
306 306
     /**
307 307
      * Transform file to xml
308 308
      *
309
-     * @param mixed $data
309
+     * @param string $data
310 310
      * @return mixed
311 311
      */
312 312
     public function toFile($data) {
Please login to merge, or discard this patch.
inc/Tar.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
      * Reopen the file with open() again if you want to do additional operations
146 146
      *
147 147
      * @param string     $outdir  the target directory for extracting
148
-     * @param int|string $strip   either the number of path components or a fixed prefix to strip
148
+     * @param string $strip   either the number of path components or a fixed prefix to strip
149 149
      * @param string     $exclude a regular expression of files to exclude
150 150
      * @param string     $include a regular expression of files to include
151 151
      * @throws TarIOException
Please login to merge, or discard this patch.
lib/plugins/auth.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      * @param   string  $user    Username
184 184
      * @param   string  $pass    Cleartext Password
185 185
      * @param   bool    $sticky  Cookie should not expire
186
-     * @return  bool             true on successful auth
186
+     * @return  boolean|null             true on successful auth
187 187
      */
188 188
     public function trustExternal($user, $pass, $sticky = false) {
189 189
         /* some example:
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      * @author  Andreas Gohr <[email protected]>
239 239
      * @param   string $user the user name
240 240
      * @param   bool $requireGroups whether or not the returned data must include groups
241
-     * @return  false|array containing user data or false
241
+     * @return  boolean containing user data or false
242 242
      */
243 243
     public function getUserData($user, $requireGroups=true) {
244 244
         if(!$this->cando['external']) msg("no valid authorisation system in use", -1);
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
      *
292 292
      * @author  Chris Smith <[email protected]>
293 293
      * @param   array  $users
294
-     * @return  int    number of users deleted
294
+     * @return  boolean    number of users deleted
295 295
      */
296 296
     public function deleteUsers($users) {
297 297
         msg("authorisation method does not allow deleting of users", -1);
Please login to merge, or discard this patch.
lib/plugins/authad/auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@
 block discarded – undo
421 421
      * domain if no current one is available.
422 422
      *
423 423
      * @param string|null $domain The AD domain to use
424
-     * @return adLDAP|bool true if a connection was established
424
+     * @return string true if a connection was established
425 425
      */
426 426
     protected function _adldap($domain) {
427 427
         if(is_null($domain) && is_array($this->opts)) {
Please login to merge, or discard this patch.
lib/plugins/authplain/auth.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @author  Andreas Gohr <[email protected]>
83 83
      * @param string $user
84 84
      * @param bool $requireGroups  (optional) ignored by this plugin, grps info always supplied
85
-     * @return array|false
85
+     * @return string
86 86
      */
87 87
     public function getUserData($user, $requireGroups=true) {
88 88
         if($this->users === null) $this->_loadUserData();
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      * Remove one or more users from the list of registered users
206 206
      *
207 207
      * @author  Christopher Smith <[email protected]>
208
-     * @param   array  $users   array of users to be deleted
208
+     * @param   string[]  $users   array of users to be deleted
209 209
      * @return  int             the number of users deleted
210 210
      */
211 211
     public function deleteUsers($users) {
@@ -347,6 +347,9 @@  discard block
 block discarded – undo
347 347
         }
348 348
     }
349 349
 
350
+    /**
351
+     * @param string $line
352
+     */
350 353
     protected function _splitUserData($line){
351 354
         // due to a bug in PCRE 6.6, preg_split will fail with the regex we use here
352 355
         // refer github issues 877 & 885
Please login to merge, or discard this patch.