Updated more docblocks

This commit is contained in:
Alex Bilbie 2013-05-08 14:10:58 -07:00
parent 787c8c566f
commit 1dd768545a
3 changed files with 5 additions and 4 deletions

View File

@ -426,7 +426,7 @@ class Authorization
/** /**
* Return a grant type class * Return a grant type class
* @param string $grantType The grant type identifer * @param string $grantType The grant type identifer
* @return class * @return Grant\AuthCode|Grant\ClientCredentials|Grant\Implict|Grant\Password|Grant\RefreshToken
*/ */
public function getGrantType($grantType) public function getGrantType($grantType)
{ {

View File

@ -94,7 +94,8 @@ class Password implements GrantTypeInterface {
/** /**
* Set the callback to verify a user's username and password * Set the callback to verify a user's username and password
* @param function $callback The callback function * @param callable $callback The callback function
* @return void
*/ */
public function setVerifyCredentialsCallback($callback) public function setVerifyCredentialsCallback($callback)
{ {
@ -103,7 +104,7 @@ class Password implements GrantTypeInterface {
/** /**
* Return the callback function * Return the callback function
* @return function * @return callable
*/ */
protected function getVerifyCredentialsCallback() protected function getVerifyCredentialsCallback()
{ {

View File

@ -56,7 +56,7 @@ class RefreshToken implements GrantTypeInterface {
/** /**
* Constructor * Constructor
* @param AuthServer $authServer AuthServer instance * @param Authorization $authServer Authorization server instance
* @return void * @return void
*/ */
public function __construct(Authorization $authServer) public function __construct(Authorization $authServer)