We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d51538d commit c332110Copy full SHA for c332110
Cmfcmf/OpenWeatherMap/Util/Wind.php
@@ -40,7 +40,7 @@ class Wind
40
*
41
* @internal
42
*/
43
- public function __construct(Unit $speed, Unit $direction)
+ public function __construct(Unit $speed, Unit $direction = null)
44
{
45
$this->speed = $speed;
46
$this->direction = $direction;
0 commit comments