NetworkSession: privatise setAuthenticationStatus()

this is accessed via a closure proxy, so it doesn't need to be exported anymore.
This commit is contained in:
Dylan K. Taylor 2020-04-25 03:33:44 +01:00
parent 80680f15f4
commit 1f7f33d35d

View File

@ -510,7 +510,7 @@ class NetworkSession{
}, $reason);
}
public function setAuthenticationStatus(bool $authenticated, bool $authRequired, ?string $error, ?PublicKeyInterface $clientPubKey) : void{
private function setAuthenticationStatus(bool $authenticated, bool $authRequired, ?string $error, ?PublicKeyInterface $clientPubKey) : void{
if(!$this->connected){
return;
}