Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: use proper methods to receive input option informations #32

Merged

Conversation

boesing
Copy link
Member

@boesing boesing commented Feb 15, 2021

Q A
Bugfix yes

Description

With #29, InputInterface::hasOption and InputInterface::getOption were introduced. It seems that these methods only work if you pass an InputDefinition.
Thus, we have to use InputInterface::hasParameterOption along with InputInterface::getParameterOption.

Use `InputInterface::hasParameterOption` and `InputInterface::getParameterOption` instead of `InputInterface::hasOption` and `InputInterface::getOption`

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
@boesing boesing added Bug Something isn't working Enhancement labels Feb 15, 2021
@boesing boesing added this to the 2.1.2 milestone Feb 15, 2021
@boesing
Copy link
Member Author

boesing commented Feb 15, 2021

@boesing boesing merged commit 3d6d6eb into laminas:2.1.x Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant