From 652b5fb08fcc4f0738161e302c04c94e8f34a317 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Thu, 6 Mar 2014 14:58:39 +0100 Subject: [PATCH] Expires can be null --- lib/Alchemy/Phrasea/Model/Entities/ApiOauthToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/Model/Entities/ApiOauthToken.php b/lib/Alchemy/Phrasea/Model/Entities/ApiOauthToken.php index c9fa54f42b..48f73a8f19 100644 --- a/lib/Alchemy/Phrasea/Model/Entities/ApiOauthToken.php +++ b/lib/Alchemy/Phrasea/Model/Entities/ApiOauthToken.php @@ -105,7 +105,7 @@ class ApiOauthToken * * @return ApiOauthTokens */ - public function setExpires(\DateTime $expires) + public function setExpires(\DateTime $expires = null) { $this->expires = $expires;