qual: phpstan for htdocs/core/class/openid.class.php (#27984)
htdocs/core/class/openid.class.php 379 Method SimpleOpenID::GetOpenIDServer() should return string but returns false. htdocs/core/class/openid.class.php 525 Method SimpleOpenID::sendDiscoveryRequestToGetXRDS() should return string but returns false.
This commit is contained in:
parent
e8d026da72
commit
dd56ea3cb7
1 changed files with 2 additions and 2 deletions
|
|
@ -359,7 +359,7 @@ class SimpleOpenID
|
|||
* Get openid server
|
||||
*
|
||||
* @param string $url Url to found endpoint
|
||||
* @return string Endpoint
|
||||
* @return string|false Endpoint, of false if error
|
||||
*/
|
||||
public function GetOpenIDServer($url = '')
|
||||
{
|
||||
|
|
@ -485,7 +485,7 @@ class SimpleOpenID
|
|||
* Get XRDS response and set possible servers.
|
||||
*
|
||||
* @param string $url Url of endpoint to request
|
||||
* @return string First endpoint OpenID server found. False if it failed to found.
|
||||
* @return string|false First endpoint OpenID server found. False if it failed to found.
|
||||
*/
|
||||
public function sendDiscoveryRequestToGetXRDS($url = '')
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue