From 9ccb23dd88e33e6c05133ec40cc29a7fee5719e8 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Tue, 4 Aug 2015 17:47:30 +0200
Subject: [PATCH] Go back to int, which is the actual value returned by time().

---
 lib/SimpleSAML/Metadata/SAMLBuilder.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/SimpleSAML/Metadata/SAMLBuilder.php b/lib/SimpleSAML/Metadata/SAMLBuilder.php
index 8acdd685b..29e296c6c 100644
--- a/lib/SimpleSAML/Metadata/SAMLBuilder.php
+++ b/lib/SimpleSAML/Metadata/SAMLBuilder.php
@@ -23,7 +23,7 @@ class SimpleSAML_Metadata_SAMLBuilder
     /**
      * The maximum time in seconds the metadata should be cached.
      *
-     * @var double|null
+     * @var int|null
      */
     private $maxCache = null;
 
@@ -31,7 +31,7 @@ class SimpleSAML_Metadata_SAMLBuilder
     /**
      * The maximum time in seconds since the current time that this metadata should be considered valid.
      *
-     * @var double|null
+     * @var int|null
      */
     private $maxDuration = null;
 
-- 
GitLab