Skip to content

Commit a51ed65

Browse files
committed
\OneLogin_Saml2_Utils::getExpireTime can also return null
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
1 parent d5042da commit a51ed65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Saml2/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ public static function parseDuration($duration, $timestamp = null)
800800
* @param string $cacheDuration The duration, as a string.
801801
* @param string $validUntil The valid until date, as a string or as a timestamp
802802
*
803-
* @return int $expireTime The expiration time.
803+
* @return int|null $expireTime The expiration time.
804804
*/
805805
public static function getExpireTime($cacheDuration = null, $validUntil = null)
806806
{

0 commit comments

Comments
 (0)