Skip to content

Conversation

@weierophinney
Copy link
Contributor

Since BcryptTrait is a public API, changes to its method signatures can have a BC impact.
In particular, the change to checkPassword for 1.7.0 was incorrect, as $user is an array, and because the signature is intended to match those in the oauth2-server sources.

Additionally, some of the parameter annotations in oauth2-server class extensions were incorrect, and have been updated.

Fixes #36

Since `BcryptTrait` is a public API, changes to its method signatures can have a BC impact.
In particular, the change to `checkPassword` for 1.7.0 was incorrect, as `$user` is an array, and because the signature is intended to match those in the oauth2-server sources.

Additionally, some of the parameter annotations in oauth2-server class extensions were incorrect, and have been updated.

Fixes #36

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@weierophinney weierophinney added BC Break Bug Something isn't working labels Jun 14, 2021
@weierophinney weierophinney added this to the 1.7.2 milestone Jun 14, 2021
@weierophinney weierophinney merged commit c48291b into laminas-api-tools:1.7.x Jun 14, 2021
@weierophinney weierophinney deleted the hotfix/36-parameter-type-fix branch June 14, 2021 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BC Break Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BcryptTrait.php checkpassword() should accept array, but no longer does

1 participant