Completed
Push — old-stable ( b2718d...a5690a )
by
unknown
03:42
created
lib/plugins/authplain/auth.php 1 patch
Doc Comments   +4 added lines, -1 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();
@@ -380,6 +380,9 @@  discard block
 block discarded – undo
380 380
         return $users;
381 381
     }
382 382
 
383
+    /**
384
+     * @param string $line
385
+     */
383 386
     protected function _splitUserData($line){
384 387
         // due to a bug in PCRE 6.6, preg_split will fail with the regex we use here
385 388
         // refer github issues 877 & 885
Please login to merge, or discard this patch.