Skip to content

Commit

Permalink
fixing docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Oct 3, 2014
1 parent b502686 commit 7c3df30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Tymon/JWTAuth/JWTAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function fromUser($user)
* Attempt to authenticate the user and return the token
*
* @param array $credentials
* @return mixed
* @return false|string
* @throws \Tymon\JWTAuth\Exceptions\JWTAuthException
*/
public function attempt(array $credentials = [])
Expand Down Expand Up @@ -135,8 +135,7 @@ public function getToken($query = 'token')
/**
* Parse token from the authorization header
*
* @param \Illuminate\Http\Request $request
* @return mixed
* @return false|string
*/
protected function parseAuthHeader($method = 'bearer')
{
Expand Down
1 change: 1 addition & 0 deletions src/Tymon/JWTAuth/Providers/ProviderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ interface ProviderInterface {
public function encode($subject, array $customClaims = []);

/**
* @param string $token
* @return \Tymon\JWTAuth\Payload
*/
public function decode($token = null);
Expand Down

0 comments on commit 7c3df30

Please sign in to comment.