From 2a4e614b5e6be565ce0bc4cb0d46bbaeebb0122e Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 28 Jul 2015 19:55:26 +0200 Subject: [PATCH] Fix code style in AuthChain refs #9660 --- library/Icinga/Authentication/AuthChain.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/library/Icinga/Authentication/AuthChain.php b/library/Icinga/Authentication/AuthChain.php index 7354825a2..e62d832aa 100644 --- a/library/Icinga/Authentication/AuthChain.php +++ b/library/Icinga/Authentication/AuthChain.php @@ -43,7 +43,7 @@ class AuthChain implements Iterator /** * Rewind the chain * - * @return ConfigObject + * @return ConfigObject */ public function rewind() { @@ -64,7 +64,7 @@ class AuthChain implements Iterator /** * Return the key of the current user backend config * - * @return string + * @return string */ public function key() { @@ -74,7 +74,7 @@ class AuthChain implements Iterator /** * Move forward to the next user backend config * - * @return ConfigObject + * @return ConfigObject */ public function next() { @@ -84,17 +84,17 @@ class AuthChain implements Iterator /** * Check if the current user backend is valid, i.e. it's enabled and the config is valid * - * @return bool + * @return bool */ 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(); }