Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Fix incorrect type declaration in Hybrid constructor #48

Merged
merged 1 commit into from
Jul 17, 2017

Conversation

nsmithuk
Copy link

The type declaration in the Hybrid class' constructor required Zend\Crypt\Rsa as its second parameter, which doesn't exist.

I've changed it to Zend\Crypt\PublicKey\Rsa, which is the expected type.

I've also added unit test for it.

@ezimuel ezimuel merged commit 273733f into zendframework:master Jul 17, 2017
@ezimuel
Copy link
Contributor

ezimuel commented Jul 17, 2017

@nsmithuk thanks!

@ezimuel ezimuel added the bug label Jul 17, 2017
@nsmithuk nsmithuk deleted the type-declaration-fix branch July 17, 2017 18:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants