From 92e217d0ac52e75d3d1b945c805c1f60d21feab5 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 8 May 2013 18:06:09 -0700 Subject: [PATCH] Show default parameters --- src/League/OAuth2/Server/Authorization.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/League/OAuth2/Server/Authorization.php b/src/League/OAuth2/Server/Authorization.php index 0025a079..1bd97a5d 100644 --- a/src/League/OAuth2/Server/Authorization.php +++ b/src/League/OAuth2/Server/Authorization.php @@ -338,7 +338,7 @@ class Authorization * * @param string $scopeDelimeter */ - public function setScopeDelimeter($scopeDelimeter) + public function setScopeDelimeter($scopeDelimeter = ' ') { $this->scopeDelimeter = $scopeDelimeter; } @@ -356,7 +356,7 @@ class Authorization * Set the TTL for an access token * @param int $accessTokenTTL The new TTL */ - public function setAccessTokenTTL($accessTokenTTL) + public function setAccessTokenTTL($accessTokenTTL = 3600) { $this->accessTokenTTL = $accessTokenTTL; }