Skip to content

Commit 0b5930b

Browse files
authored
Merge pull request #194 from msvrtan/patch-1
Signature on sign()
2 parents 47a07f8 + 5e32103 commit 0b5930b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Builder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use BadMethodCallException;
1111
use Lcobucci\JWT\Claim\Factory as ClaimFactory;
1212
use Lcobucci\JWT\Parsing\Encoder;
13+
use Lcobucci\JWT\Signer\Key;
1314

1415
/**
1516
* This class makes easier the token creation process
@@ -227,7 +228,7 @@ public function set($name, $value)
227228
* Signs the data
228229
*
229230
* @param Signer $signer
230-
* @param string $key
231+
* @param Key|string $key
231232
*
232233
* @return Builder
233234
*/

0 commit comments

Comments
 (0)