Apply fixes from StyleCI

This commit is contained in:
Jonny Barnes 2017-03-01 21:01:00 +00:00 committed by StyleCI Bot
parent fe8f871e3a
commit 984f3c067b
9 changed files with 9 additions and 12 deletions

View file

@ -14,6 +14,7 @@ class IndieAuthService
{
$this->client = new Client();
}
/**
* Given a domain, determing the assocaited authorization endpoint,
* if one exists.
@ -25,7 +26,7 @@ class IndieAuthService
{
$endpoint = $this->client->discoverAuthorizationEndpoint($this->client->normalizeMeURL($domain));
if ($endpoint === false) {
return null;
return;
}
return $endpoint;