Skip to content

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.

@ulrichmathes ulrichmathes force-pushed the master branch 2 times, most recently from 347e14d to c676bcd Compare October 24, 2024 14:27
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