Skip to content

Commit 2f31f73

Browse files
committed
Fix typo
1 parent b22a57e commit 2f31f73

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Saml2/LogoutRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public static function getSessionIndexes($request)
347347
}
348348

349349
/**
350-
* Checks if the Logout Request recieved is valid.
350+
* Checks if the Logout Request received is valid.
351351
*
352352
* @param bool $retrieveParametersFromServer True if we want to use parameters from $_SERVER to validate the signature
353353
*

src/Saml2/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ public static function validateBinarySign($messageType, $getData, $idpData, $ret
15831583
$objKey = Utils::castKey($objKey, $signAlg, 'public');
15841584
} catch (Exception $e) {
15851585
$ex = new ValidationError(
1586-
"Invalid signAlg in the recieved ".$strMessageType,
1586+
"Invalid signAlg in the received ".$strMessageType,
15871587
ValidationError::INVALID_SIGNATURE
15881588
);
15891589
if (count($multiCerts) == 1) {

tests/src/OneLogin/Saml2/LogoutRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ public function testIsInValidSign()
798798
$_GET['SigAlg'] = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1';
799799

800800
$this->assertFalse($logoutRequest5->isValid());
801-
$this->assertEquals('Invalid signAlg in the recieved Logout Request', $logoutRequest5->getError());
801+
$this->assertEquals('Invalid signAlg in the received Logout Request', $logoutRequest5->getError());
802802

803803
$settingsDir = TEST_ROOT .'/settings/';
804804
include $settingsDir.'settings1.php';

tests/src/OneLogin/Saml2/LogoutResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public function testIsInValidSign()
335335
$_GET['SigAlg'] = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1';
336336
$response8 = new LogoutResponse($this->_settings, $_GET['SAMLResponse']);
337337
$this->assertFalse($response8->isValid());
338-
$this->assertEquals('Invalid signAlg in the recieved Logout Response', $response8->getError());
338+
$this->assertEquals('Invalid signAlg in the received Logout Response', $response8->getError());
339339

340340
$settingsDir = TEST_ROOT .'/settings/';
341341
include $settingsDir.'settings1.php';

0 commit comments

Comments
 (0)