mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy
PHPBB3-12721
This commit is contained in:
@@ -53,7 +53,7 @@ class provider_collection extends \phpbb\di\service_collection
|
||||
return $this->offsetGet('auth.provider.' . basename(trim($this->config['auth_method'])));
|
||||
}
|
||||
// Revert to db auth provider if selected method does not exist
|
||||
elseif ($this->offsetExists('auth.provider.db'))
|
||||
else if ($this->offsetExists('auth.provider.db'))
|
||||
{
|
||||
return $this->offsetGet('auth.provider.db');
|
||||
}
|
||||
|
Reference in New Issue
Block a user