Skip to content

Commit e2256d2

Browse files
committed
Fix typo
1 parent 110fc75 commit e2256d2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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
@@ -1560,7 +1560,7 @@ public static function validateBinarySign($messageType, $getData, $idpData, $ret
15601560
$objKey = Utils::castKey($objKey, $signAlg, 'public');
15611561
} catch (Exception $e) {
15621562
$ex = new ValidationError(
1563-
"Invalid signAlg in the recieved ".$strMessageType,
1563+
"Invalid signAlg in the received ".$strMessageType,
15641564
ValidationError::INVALID_SIGNATURE
15651565
);
15661566
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
@@ -334,7 +334,7 @@ public function testIsInValidSign()
334334
$_GET['SigAlg'] = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1';
335335
$response8 = new LogoutResponse($this->_settings, $_GET['SAMLResponse']);
336336
$this->assertFalse($response8->isValid());
337-
$this->assertEquals('Invalid signAlg in the recieved Logout Response', $response8->getError());
337+
$this->assertEquals('Invalid signAlg in the received Logout Response', $response8->getError());
338338

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

0 commit comments

Comments
 (0)