Skip to content

Commit 6b7ad5d

Browse files
Claim::getValue can return anything
As reported and discussed via #367, we need to expand the return type of `Claim::getValue` An example is, https://github.com/lcobucci/jwt/blob/56f10808/src/Claim/Basic.php#L36, which accepts `mixed` as the Claim's value.
1 parent 56f1080 commit 6b7ad5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Claim.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function getName();
2727
/**
2828
* Returns the claim value
2929
*
30-
* @return string
30+
* @return mixed
3131
*/
3232
public function getValue();
3333

0 commit comments

Comments
 (0)