Skip to content

Commit

Permalink
Merge pull request #356 from prolic/patch-1
Browse files Browse the repository at this point in the history
fix php docblock
  • Loading branch information
lcobucci authored May 22, 2020
2 parents a11ec5f + 96255bd commit 56f1080
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Signature.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

namespace Lcobucci\JWT;

use Lcobucci\JWT\Signer\Key;

/**
* This class represents a token signature
*
Expand Down Expand Up @@ -38,7 +40,7 @@ public function __construct($hash)
*
* @param Signer $signer
* @param string $payload
* @param string $key
* @param Key|string $key
*
* @return boolean
*/
Expand Down
3 changes: 2 additions & 1 deletion src/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use DateTimeInterface;
use Generator;
use Lcobucci\JWT\Claim\Validatable;
use Lcobucci\JWT\Signer\Key;
use OutOfBoundsException;

/**
Expand Down Expand Up @@ -182,7 +183,7 @@ public function getClaim($name, $default = null)
* Verify if the key matches with the one that created the signature
*
* @param Signer $signer
* @param string $key
* @param Key|string $key
*
* @return boolean
*
Expand Down

0 comments on commit 56f1080

Please sign in to comment.