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

[FEATURE] Add float type support for component params #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nmaier95
Copy link

Summary:
fluid-components internally uses phps gettype() method to check the actual type of a passed component param value. gettype() however returns the string 'double' for floating numbers because of historical reasons (see the php manual for reference).
This causes the issue of passed floating numbers to components which have a declared param type of "float" to raise an InvalidArgumentException which this pr shall fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant