Fix code style in AuthChain

refs #9660
This commit is contained in:
Eric Lippmann 2015-07-28 19:55:26 +02:00
parent 07849e0fea
commit 2a4e614b5e

View File

@ -88,13 +88,13 @@ class AuthChain implements Iterator
*/
public function valid()
{
if (!$this->config->valid()) {
if (! $this->config->valid()) {
// Stop when there are no more backends to check
return false;
}
$backendConfig = $this->config->current();
if ((bool) $backendConfig->get('disabled', false) === true) {
if ((bool) $backendConfig->get('disabled', false)) {
$this->next();
return $this->valid();
}