Skip to content

Commit

Permalink
LineString type class constructor is now optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
allebb committed Aug 26, 2016
1 parent 839d148 commit 4591341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LineString.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class LineString extends GeoJSON implements GeoJSONTypeInterface, Multipliable
/**
*
*/
public function __construct($init)
public function __construct($init = [])
{
$this->coordinates = new Collection;

Expand Down

0 comments on commit 4591341

Please sign in to comment.