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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Claim.php

+1-1
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)