Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
Max committed Aug 11, 2022
1 parent 8e9ac21 commit d450e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Geometries/Point.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function __construct($lat, $lng, $alt = null)
$this->lng = (float)$lng;
$this->alt = isset($alt) ? (float)$alt : null;
$this->setPrecision(
function_exists('config') ? config('postgis.precision') : 6
function_exists('config') ? config('postgis.precision', 6) : 6
);
}

Expand Down

0 comments on commit d450e36

Please sign in to comment.