Skip to content

Commit 3face3a

Browse files
committed
Fix typo
1 parent 0342f0f commit 3face3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Saml2/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ public static function validateBinarySign($messageType, $getData, $idpData, $ret
15441544
$signedQuery .= '&SigAlg='.OneLogin_Saml2_Utils::extractOriginalQueryParam('SigAlg');
15451545
} else {
15461546
if (isset($getData['SAMLRequest']) && isset($getData['SAMLResponse'])) {
1547-
throw new Error(
1547+
throw new OneLogin_Saml2_Error(
15481548
"Both SAMLRequest and SAMLResponse provided",
15491549
OneLogin_Saml2_Error::INVALID_PARAMETER
15501550
);

0 commit comments

Comments
 (0)