Skip to content

Commit

Permalink
Signature on sign()
Browse files Browse the repository at this point in the history
Signer interface says, $key can be string or instance of Lcobucci\JWT\Signer\Key, updating @param
  • Loading branch information
msvrtan authored Aug 20, 2017
1 parent ddce703 commit 5e32103
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use BadMethodCallException;
use Lcobucci\JWT\Claim\Factory as ClaimFactory;
use Lcobucci\JWT\Parsing\Encoder;
use Lcobucci\JWT\Signer\Key;

/**
* This class makes easier the token creation process
Expand Down Expand Up @@ -227,7 +228,7 @@ public function set($name, $value)
* Signs the data
*
* @param Signer $signer
* @param string $key
* @param Key|string $key
*
* @return Builder
*/
Expand Down

0 comments on commit 5e32103

Please sign in to comment.