Replace tabs with spaces

This commit is contained in:
Niklas 2021-07-06 10:15:44 +02:00
parent 5729af70e1
commit 1fc6ef1d15

View File

@ -62,7 +62,7 @@ class RestfulServer extends Controller
* @var array Class names for authenticators to use on API access * @var array Class names for authenticators to use on API access
*/ */
private static $authenticators = [ private static $authenticators = [
BasicRestfulAuthenticator::class BasicRestfulAuthenticator::class
]; ];
/** /**
@ -859,9 +859,9 @@ class RestfulServer extends Controller
$authClasses = $this->config()->authenticators; $authClasses = $this->config()->authenticators;
$member = null; $member = null;
foreach ($authClasses as $authClass) { foreach ($authClasses as $authClass) {
if ($member = $authClass::authenticate()) { if ($member = $authClass::authenticate()) {
break; break;
} }
} }
Security::setCurrentUser($member); Security::setCurrentUser($member);
return $member; return $member;