@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * Set options |
| 77 | 77 | * |
| 78 | 78 | * @param Iterable $config |
| 79 | - * @return Log |
|
| 79 | + * @return Auth |
|
| 80 | 80 | */ |
| 81 | 81 | public function setOptions(?Iterable $config=null): Auth |
| 82 | 82 | { |
@@ -210,7 +210,6 @@ discard block |
||
| 210 | 210 | /** |
| 211 | 211 | * Authenticate |
| 212 | 212 | * |
| 213 | - * @param Iterable $adapters |
|
| 214 | 213 | * @return bool |
| 215 | 214 | */ |
| 216 | 215 | public function requireOne(): bool |
@@ -252,7 +251,7 @@ discard block |
||
| 252 | 251 | /** |
| 253 | 252 | * Get identity |
| 254 | 253 | * |
| 255 | - * @return identity |
|
| 254 | + * @return Identity |
|
| 256 | 255 | */ |
| 257 | 256 | public function getIdentity(): Identity |
| 258 | 257 | { |
@@ -242,7 +242,7 @@ |
||
| 242 | 242 | } |
| 243 | 243 | |
| 244 | 244 | $this->logger->warning("all authentication adapter have failed", [ |
| 245 | - 'category' => get_class($this) |
|
| 245 | + 'category' => get_class($this) |
|
| 246 | 246 | ]); |
| 247 | 247 | |
| 248 | 248 | return false; |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * Set options |
| 37 | 37 | * |
| 38 | 38 | * @param Iterable $config |
| 39 | - * @return LdapServer |
|
| 39 | + * @return LdapPreauth |
|
| 40 | 40 | */ |
| 41 | 41 | public function setOptions(?Iterable $config=null): LdapServer |
| 42 | 42 | { |
@@ -84,8 +84,8 @@ |
||
| 84 | 84 | switch ($value['type']) { |
| 85 | 85 | case 'array': |
| 86 | 86 | $arr = (array)$data[$value['attr']]; |
| 87 | - unset($arr['count']); |
|
| 88 | - $attrs[$attr] = $arr; |
|
| 87 | + unset($arr['count']); |
|
| 88 | + $attrs[$attr] = $arr; |
|
| 89 | 89 | break; |
| 90 | 90 | |
| 91 | 91 | case 'string': |