mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
Ignore phpstan error for magic setter in LightOpenID class
This commit is contained in:
parent
7b892fac9c
commit
650e65d4b4
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ class User
|
||||||
$_SESSION['openid'] = $openid_url;
|
$_SESSION['openid'] = $openid_url;
|
||||||
|
|
||||||
$openid = new LightOpenID(DI::baseUrl()->getHost());
|
$openid = new LightOpenID(DI::baseUrl()->getHost());
|
||||||
// $openid->identity is private and cannot be set
|
/** @phpstan-ignore-next-line $openid->identity is private, but will be set via magic setter */
|
||||||
$openid->identity = $openid_url;
|
$openid->identity = $openid_url;
|
||||||
$openid->returnUrl = DI::baseUrl() . '/openid';
|
$openid->returnUrl = DI::baseUrl() . '/openid';
|
||||||
$openid->required = ['namePerson/friendly', 'contact/email', 'namePerson'];
|
$openid->required = ['namePerson/friendly', 'contact/email', 'namePerson'];
|
||||||
|
|
Loading…
Reference in a new issue