Skip to content

Commit

Permalink
Merge pull request #17 from Ppito/master
Browse files Browse the repository at this point in the history
fixed error mapping on wind_degree & wind_dir
  • Loading branch information
andreiavrammsd authored Aug 26, 2019
2 parents 22658b4 + 282c2b1 commit bd9f5b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Response/Forecast/Hour.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ class Hour
/**
* @var int|null
*
* @Serializer\Property("int")
* @Serializer\Type("float")
* @Serializer\Property("wind_degree")
* @Serializer\Type("int")
* @Serializer\IgnoreNull()
*/
private $windDegree;

/**
* @var string|null
*
* @Serializer\Property("string")
* @Serializer\Type("float")
* @Serializer\Property("wind_dir")
* @Serializer\Type("string")
* @Serializer\IgnoreNull()
*/
private $windDirection;
Expand Down

0 comments on commit bd9f5b7

Please sign in to comment.