Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jtejido committed Apr 28, 2018
1 parent a2041ca commit e0c5ea8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Geodesy/Distance/BaseDistance.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ public function __construct(LatLong $source, LatLong $destination)
throw new \Exception('Source or Destination cannot be null');
}

if ($this->source === null || $this->destination === null) {
throw new \Exception('Source or Destination cannot be null');
}

$this->lat1 = deg2rad($this->source->getLatitude());
$this->long1 = deg2rad($this->source->getLongitude());
$this->sourceDatum = $this->source->getReference();
Expand Down

0 comments on commit e0c5ea8

Please sign in to comment.