From f5f2fab5ff16eb183c56480f0db0088540bb7781 Mon Sep 17 00:00:00 2001 From: Michiel Kodde Date: Tue, 23 Jan 2024 11:39:02 +0100 Subject: [PATCH] Rename ip to identityProvider --- src/Features/Context/WebContext.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Features/Context/WebContext.php b/src/Features/Context/WebContext.php index db2cd8e9..1d300f2d 100644 --- a/src/Features/Context/WebContext.php +++ b/src/Features/Context/WebContext.php @@ -95,14 +95,14 @@ public function getIdentityProvider(): IdentityProvider /** @var RequestStack $stack */ $stack = $this->kernel->getContainer()->get('request_stack'); $stack->push(Request::create('https://tiqr.stepup.example.com')); - $ip = $this->kernel->getContainer()->get('surfnet_saml.hosted.identity_provider'); + $identityProvider = $this->kernel->getContainer()->get('surfnet_saml.hosted.identity_provider'); $stack->pop(); - if (!$ip instanceof IdentityProvider) { + if (!$identityProvider instanceof IdentityProvider) { throw new Exception('No Hosted Identity Provider could be found'); } - return $ip; + return $identityProvider; } /**