Skip to content

Claim::getValue can return anything#368

Merged
lcobucci merged 1 commit into
lcobucci:3.3from
carusogabriel:patch-1
Aug 20, 2020
Merged

Claim::getValue can return anything#368
lcobucci merged 1 commit into
lcobucci:3.3from
carusogabriel:patch-1

Conversation

@carusogabriel

Copy link
Copy Markdown

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.

Fix #367.

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.
@lcobucci lcobucci added this to the 3.3.3 milestone Aug 20, 2020
@lcobucci lcobucci self-assigned this Aug 20, 2020
@lcobucci lcobucci linked an issue Aug 20, 2020 that may be closed by this pull request
@lcobucci

Copy link
Copy Markdown
Owner

I need to disable scrutinizer, so slow 🤦

@lcobucci

Copy link
Copy Markdown
Owner

@carusogabriel thanks for the fix, will release it ASAP!

@lcobucci lcobucci merged commit c112369 into lcobucci:3.3 Aug 20, 2020
@carusogabriel carusogabriel deleted the patch-1 branch August 20, 2020 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[3.3] Claim::getValue can return an array

2 participants