Skip to content

Commit

Permalink
Fix style CI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sephster committed Apr 7, 2022
1 parent 9402d9a commit 0c2f32c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RedirectUriValidators/RedirectUriValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace League\OAuth2\Server\RedirectUriValidators;

use League\Uri\Uri;
use League\Uri\Exceptions\SyntaxError;
use League\Uri\Uri;

class RedirectUriValidator implements RedirectUriValidatorInterface
{
Expand Down Expand Up @@ -65,7 +65,7 @@ private function isLoopbackUri($redirectUri)
try {
$uri = Uri::createFromString($redirectUri);
} catch (SyntaxError $e) {
return false;
return false;
}

return $uri->getScheme() === 'http'
Expand Down

0 comments on commit 0c2f32c

Please sign in to comment.