From 1161b7771bd64843c6fef423f8f1e49bfaec29c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Wed, 28 Sep 2022 08:52:19 +0200 Subject: [PATCH] fix: $this->enc_type -> $this->encType --- src/OpenIDConnectClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenIDConnectClient.php b/src/OpenIDConnectClient.php index 5dfcc4a2..7ab04939 100644 --- a/src/OpenIDConnectClient.php +++ b/src/OpenIDConnectClient.php @@ -647,7 +647,7 @@ protected function generateRandString() { throw new OpenIDConnectClientException('Random token generation failed.'); } catch (Exception $e) { throw new OpenIDConnectClientException('Random token generation failed.'); - }; + } } /** @@ -872,7 +872,7 @@ public function requestTokenExchange($subjectToken, $subjectTokenType, $audience } // Convert token params to string format - $post_params = http_build_query($post_data, null, '&', $this->enc_type); + $post_params = http_build_query($post_data, null, '&', $this->encType); return json_decode($this->fetchURL($token_endpoint, $post_params, $headers)); }