diff --git a/src/Builder.php b/src/Builder.php index 8aeaceba..af1f643a 100644 --- a/src/Builder.php +++ b/src/Builder.php @@ -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 @@ -227,7 +228,7 @@ public function set($name, $value) * Signs the data * * @param Signer $signer - * @param string $key + * @param Key|string $key * * @return Builder */