Skip to content
This repository was archived by the owner on Mar 2, 2018. It is now read-only.

Commit 28d0362

Browse files
committed
\OneLogin_Saml2_Utils::parseTime2SAML also accepts int
Signed-off-by: Lukas Reschke <[email protected]>
1 parent fcf39f9 commit 28d0362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Saml2/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ public static function generateUniqueID()
651651
* Converts a UNIX timestamp to SAML2 timestamp on the form
652652
* yyyy-mm-ddThh:mm:ss(\.s+)?Z.
653653
*
654-
* @param string $time The time we should convert (DateTime).
654+
* @param string|int $time The time we should convert (DateTime).
655655
*
656656
* @return string $timestamp SAML2 timestamp.
657657
*/

0 commit comments

Comments
 (0)