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:
thibdrev 2024-02-03 18:15:55 +01:00 committed by GitHub
parent e8d026da72
commit dd56ea3cb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = '')
{