Skip to content

Commit

Permalink
Show default parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbilbie committed May 9, 2013
1 parent 7073543 commit 92e217d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/League/OAuth2/Server/Authorization.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public function getScopeDelimeter()
*
* @param string $scopeDelimeter
*/
public function setScopeDelimeter($scopeDelimeter)
public function setScopeDelimeter($scopeDelimeter = ' ')
{
$this->scopeDelimeter = $scopeDelimeter;
}
Expand All @@ -356,7 +356,7 @@ public function getAccessTokenTTL()
* 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;
}
Expand Down

0 comments on commit 92e217d

Please sign in to comment.