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

Commit d450e36

Browse files
author
Max
committed
fix default
1 parent 8e9ac21 commit d450e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Geometries/Point.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct($lat, $lng, $alt = null)
1515
$this->lng = (float)$lng;
1616
$this->alt = isset($alt) ? (float)$alt : null;
1717
$this->setPrecision(
18-
function_exists('config') ? config('postgis.precision') : 6
18+
function_exists('config') ? config('postgis.precision', 6) : 6
1919
);
2020
}
2121

0 commit comments

Comments
 (0)