We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the map field is passed an array with empty string, rather than floats or null values, BaseLocation.php throws a TypeError:
Cannot assign string to property ether\simplemap\models\BaseLocation::$lat of type ?float
Although it won't validate shouldnt the Map field be able to handle a value like this:
Bit of normalization in the map fields normalizeValue() method should cover it, happy to submit a RR if easier?
normalizeValue()
simplemap/src/fields/MapField.php
Line 246 in c1a9347
The text was updated successfully, but these errors were encountered:
Any thoughts on this one?
Sorry, something went wrong.
5de1d9a
Successfully merging a pull request may close this issue.
If the map field is passed an array with empty string, rather than floats or null values, BaseLocation.php throws a TypeError:
Cannot assign string to property ether\simplemap\models\BaseLocation::$lat of type ?float
Although it won't validate shouldnt the Map field be able to handle a value like this:
Bit of normalization in the map fields
normalizeValue()
method should cover it, happy to submit a RR if easier?simplemap/src/fields/MapField.php
Line 246 in c1a9347
The text was updated successfully, but these errors were encountered: