Skip to content

Commit 4fea1ed

Browse files
committed
Typo
1 parent 664bc7c commit 4fea1ed

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/Saml2/classes/OneLogin_Saml2_LogoutRequest.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@
141141
</li>
142142

143143
<li class="method public">
144-
<a href="#method_isValid" title="isValid :: Checks if the Logout Request recieved is valid.">
145-
<span class="description">Checks if the Logout Request recieved is valid.</span><pre>isValid</pre>
144+
<a href="#method_isValid" title="isValid :: Checks if the Logout Request received is valid.">
145+
<span class="description">Checks if the Logout Request received is valid.</span><pre>isValid</pre>
146146
</a>
147147
</li>
148148
<li class="method public">
@@ -468,7 +468,7 @@ <h3>Response</h3>
468468

469469
<a id="method_isValid"></a>
470470
<div class="element clickable method public method_isValid" data-toggle="collapse" data-target=".method_isValid .collapse">
471-
<h2>Checks if the Logout Request recieved is valid.</h2>
471+
<h2>Checks if the Logout Request received is valid.</h2>
472472
<pre>isValid(\OneLogin_Saml2_Settings $settings, string|\DOMDocument $request, $debug = false) : boolean</pre>
473473
<div class="labels">
474474
<span class="label">static</span> </div>

lib/Saml2/LogoutRequest.php

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

323323
/**
324-
* Checks if the Logout Request recieved is valid.
324+
* Checks if the Logout Request received is valid.
325325
*
326326
* @param bool $retrieveParametersFromServer
327327
*

lib/Saml2/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ public static function validateBinarySign($messageType, $getData, $idpData, $ret
15461546
$objKey = OneLogin_Saml2_Utils::castKey($objKey, $signAlg, 'public');
15471547
} catch (Exception $e) {
15481548
$ex = new OneLogin_Saml2_ValidationError(
1549-
"Invalid signAlg in the recieved ".$strMessageType,
1549+
"Invalid signAlg in the received ".$strMessageType,
15501550
OneLogin_Saml2_ValidationError::INVALID_SIGNATURE
15511551
);
15521552
if (count($multiCerts) == 1) {

tests/src/OneLogin/Saml2/LogoutRequestTest.php

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

777777
$this->assertFalse($logoutRequest5->isValid());
778-
$this->assertEquals('Invalid signAlg in the recieved Logout Request', $logoutRequest5->getError());
778+
$this->assertEquals('Invalid signAlg in the received Logout Request', $logoutRequest5->getError());
779779

780780
$settingsDir = TEST_ROOT .'/settings/';
781781
include $settingsDir.'settings1.php';

tests/src/OneLogin/Saml2/LogoutResponseTest.php

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

300300
$settingsDir = TEST_ROOT .'/settings/';
301301
include $settingsDir.'settings1.php';

0 commit comments

Comments
 (0)