Skip to content

Commit 9326f69

Browse files
committed
Add proper type hints to \OneLogin_Saml2_Response::getAssertionNotOnOrAfter
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
1 parent 0d42ea1 commit 9326f69

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/Saml2/Response.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class OneLogin_Saml2_Response
4747
/**
4848
* NotOnOrAfter value of a valid SubjectConfirmationData node
4949
*
50-
* @var DateTime
50+
* @var int
5151
*/
5252
private $_validSCDNotOnOrAfter;
5353

@@ -439,7 +439,8 @@ public function getAssertionId()
439439
}
440440

441441
/**
442-
* @return the NotOnOrAfter value of the valid SubjectConfirmationData * node if any
442+
* @return int the NotOnOrAfter value of the valid SubjectConfirmationData
443+
* node if any
443444
*/
444445
public function getAssertionNotOnOrAfter()
445446
{

0 commit comments

Comments
 (0)