Skip to content

Commit

Permalink
fixed error mapping on wind_degree & wind_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickael TONNELIER committed Aug 22, 2019
1 parent 22658b4 commit 282c2b1
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 282c2b1

Please sign in to comment.