Skip to content

Commit

Permalink
Merge pull request #3 from tymondesigns/scrutinizer-patch-1
Browse files Browse the repository at this point in the history
Scrutinizer Auto-Fixes
  • Loading branch information
tymondesigns committed Sep 23, 2014
2 parents 23852f9 + be8ded4 commit 5475cc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Tymon/JWTAuth/JWTProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function createPayload($payload)
/**
* Helper method to return the subject claim
*
* @param mixed $token
* @param string $token
* @return mixed
*/
public function getSubject($token)
Expand All @@ -147,7 +147,7 @@ public function getSubject($token)
/**
* Get the JWT Payload
*
* @return JWTPayload
* @return Payload
*/
public function getPayload()
{
Expand All @@ -157,7 +157,7 @@ public function getPayload()
/**
* Get the JWT
*
* @return string
* @return Token
*/
public function getToken()
{
Expand Down
1 change: 1 addition & 0 deletions src/Tymon/JWTAuth/Payload.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ protected function validateExpiry($value)
/**
* Get the payload
*
* @param string $property
* @return array
*/
public function get($property = null)
Expand Down
2 changes: 1 addition & 1 deletion src/Tymon/JWTAuth/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct($value)
/**
* Validate the token
*
* @param $value
* @param string $value
* @return string
* @throws Exceptions\JWTException
*/
Expand Down

0 comments on commit 5475cc2

Please sign in to comment.