Fixed semantic meaning of requireScopeParam() and requireStateParam() by changing their default value to true

This commit is contained in:
Alex Bilbie 2013-05-10 23:01:54 -07:00
parent 05d4b68586
commit 4b3e0bf668

View File

@ -271,7 +271,7 @@ class Authorization
* @param boolean $require * @param boolean $require
* @return void * @return void
*/ */
public function requireScopeParam($require = false) public function requireScopeParam($require = true)
{ {
$this->requireScopeParam = $require; $this->requireScopeParam = $require;
} }
@ -318,7 +318,7 @@ class Authorization
* @param boolean $require * @param boolean $require
* @return void * @return void
*/ */
public function requireStateParam($require = false) public function requireStateParam($require = true)
{ {
$this->requireStateParam = $require; $this->requireStateParam = $require;
} }