Skip to content

Commit 58bd2ba

Browse files
author
Sebastiano Degan
committed
fixed variable name conflict
1 parent a28efcf commit 58bd2ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RedirectUriValidators/RedirectUriValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ private function matchUriExcludingPort($redirectUri)
8888
{
8989
$parsedUrl = $this->parseUrlAndRemovePort($redirectUri);
9090

91-
foreach ($this->allowedRedirectUris as $redirectUri) {
92-
if ($parsedUrl === $this->parseUrlAndRemovePort($redirectUri)) {
91+
foreach ($this->allowedRedirectUris as $allowedRedirectUri) {
92+
if ($parsedUrl === $this->parseUrlAndRemovePort($allowedRedirectUri)) {
9393
return true;
9494
}
9595
}

0 commit comments

Comments
 (0)