From 13c608b849a6d805f119bf046651363171d6fe51 Mon Sep 17 00:00:00 2001 From: Toby Griffiths Date: Wed, 1 Mar 2017 13:08:42 +0000 Subject: [PATCH] Corrected DateInterval from 1 min to 1 month --- examples/public/middleware_use.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/public/middleware_use.php b/examples/public/middleware_use.php index 68b4ebc1..21f6bc23 100644 --- a/examples/public/middleware_use.php +++ b/examples/public/middleware_use.php @@ -62,7 +62,7 @@ $app = new App([ // Enable the refresh token grant on the server with a token TTL of 1 month $server->enableGrantType( new RefreshTokenGrant($refreshTokenRepository), - new \DateInterval('PT1M') + new \DateInterval('P1M') ); return $server;