return null explicitly for nullable return types
This commit is contained in:
parent
241ef0bd7e
commit
884f92b5a5
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ class IndieAuthService
|
|||
{
|
||||
$endpoint = $this->client->discoverAuthorizationEndpoint($this->client->normalizeMeURL($domain));
|
||||
if ($endpoint === false) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
return $endpoint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue