cmfcmf / OpenWeatherMap-PHP-API

A PHP API to parse weather data and weather history from OpenWeatherMap.org.
https://cmfcmf.github.io/OpenWeatherMap-PHP-API
MIT License
327 stars 123 forks source link

Added interface JsonSerializable to Util\Unit class #145

Closed 1franck closed 4 years ago

1franck commented 4 years ago

this help to properly json_encode() the current weather result

peter279k commented 4 years ago

Coding style is failed, could you fix that, @1Franck :)?

peter279k commented 4 years ago

@1Franck, it still has coding style error, and you can check that link.

1franck commented 4 years ago

should be good now :)

1franck commented 4 years ago

I've updated the branch now with the latest merge. It would be very helpful if you could merge and release a new version for this PR when you got time. Thanks :)

1franck commented 4 years ago

Thank you! :)