Skip to content

Commit 3960a90

Browse files
CABPI-470::Enable IMS With invalid Credentials-Updated variable name to fix typo
1 parent ecb5342 commit 3960a90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/AdobeIms/Model/Authorization.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Authorization implements AuthorizationInterface
3535
/**
3636
* @var string|null
3737
*/
38-
private $redirecrHost = null;
38+
private $redirectHost = null;
3939

4040
/**
4141
* @var Parameters
@@ -177,14 +177,14 @@ private function getRedirectUrlHost(string $imsUrl): ?string
177177
foreach ($urlParams as $param => $value) {
178178
if ($param === 'callback' || $param === 'uc_callback') {
179179
$this->getRedirectUrlHost($value);
180-
} elseif ($this->redirecrHost) {
180+
} elseif ($this->redirectHost) {
181181
break;
182182
}
183183
}
184184
} elseif (isset($urlParams['redirect_uri'])) {
185185
$this->uri->parse($urlParams['redirect_uri']);
186-
$this->redirecrHost = $this->uri->getHost();
186+
$this->redirectHost = $this->uri->getHost();
187187
}
188-
return $this->redirecrHost;
188+
return $this->redirectHost;
189189
}
190190
}

0 commit comments

Comments
 (0)