@@ -183,7 +183,7 @@ |
||
| 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: |
@@ -82,7 +82,7 @@ discard block |
||
| 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 |
||
| 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 |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * ) |
| 38 | 38 | * ) |
| 39 | 39 | * |
| 40 | - * @param null|array $options |
|
| 40 | + * @param string $options |
|
| 41 | 41 | * @return $this|array |
| 42 | 42 | */ |
| 43 | 43 | public function options($options = null) { |
@@ -410,7 +410,7 @@ |
||
| 410 | 410 | * Return a count of the number of user which meet $filter criteria |
| 411 | 411 | * |
| 412 | 412 | * @param array $filter array of field/pattern pairs, empty array for no filter |
| 413 | - * @return int |
|
| 413 | + * @return boolean |
|
| 414 | 414 | */ |
| 415 | 415 | public function getUserCount($filter = array()) { |
| 416 | 416 | if(is_null($filter)) $filter = array(); |