Skip to content

Commit 31354e8

Browse files
Merge pull request #325 from jumbojett/fix/enc-type
fix: $this->enc_type -> $this->encType
2 parents 7883f6c + 1161b77 commit 31354e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OpenIDConnectClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ protected function generateRandString() {
763763
throw new OpenIDConnectClientException('Random token generation failed.');
764764
} catch (Exception $e) {
765765
throw new OpenIDConnectClientException('Random token generation failed.');
766-
};
766+
}
767767
}
768768

769769
/**
@@ -1003,7 +1003,7 @@ public function requestTokenExchange($subjectToken, $subjectTokenType, $audience
10031003
}
10041004

10051005
// Convert token params to string format
1006-
$post_params = http_build_query($post_data, null, '&', $this->enc_type);
1006+
$post_params = http_build_query($post_data, null, '&', $this->encType);
10071007

10081008
return json_decode($this->fetchURL($token_endpoint, $post_params, $headers));
10091009
}

0 commit comments

Comments
 (0)