Show default parameters

This commit is contained in:
Alex Bilbie 2013-05-08 18:06:09 -07:00
parent 707354348a
commit 92e217d0ac

View File

@ -338,7 +338,7 @@ class Authorization
* *
* @param string $scopeDelimeter * @param string $scopeDelimeter
*/ */
public function setScopeDelimeter($scopeDelimeter) public function setScopeDelimeter($scopeDelimeter = ' ')
{ {
$this->scopeDelimeter = $scopeDelimeter; $this->scopeDelimeter = $scopeDelimeter;
} }
@ -356,7 +356,7 @@ class Authorization
* Set the TTL for an access token * Set the TTL for an access token
* @param int $accessTokenTTL The new TTL * @param int $accessTokenTTL The new TTL
*/ */
public function setAccessTokenTTL($accessTokenTTL) public function setAccessTokenTTL($accessTokenTTL = 3600)
{ {
$this->accessTokenTTL = $accessTokenTTL; $this->accessTokenTTL = $accessTokenTTL;
} }