Skip to content

Conversation

@ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Dec 15, 2022

Resolves: N/a

Summary

settype allows 'double' as alias of 'float': https://www.php.net/manual/en/function.settype.php

TODO

  • Fix

Checklist

``settype`` allows 'double' as alias of 'float'.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst
Copy link
Member Author

/backport to stable25

@ChristophWurst
Copy link
Member Author

/backport to stable24

@come-nc
Copy link
Contributor

come-nc commented Dec 15, 2022

Does that mean we are using double in our code? Shouldn’t the fix be to replace by float?

@ChristophWurst
Copy link
Member Author

I fixed this for consistency. We also allow int and integer.

Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

5 participants