Skip to content

Commit c332110

Browse files
committed
Make direction nullable (HHVM)
1 parent d51538d commit c332110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cmfcmf/OpenWeatherMap/Util/Wind.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Wind
4040
*
4141
* @internal
4242
*/
43-
public function __construct(Unit $speed, Unit $direction)
43+
public function __construct(Unit $speed, Unit $direction = null)
4444
{
4545
$this->speed = $speed;
4646
$this->direction = $direction;

0 commit comments

Comments
 (0)