From d450e36c10d9b96037d65e6f89ff6fa815eafc70 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 11 Aug 2022 11:48:56 +0200 Subject: [PATCH] fix default --- src/Geometries/Point.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Geometries/Point.php b/src/Geometries/Point.php index 1199447..4176d34 100644 --- a/src/Geometries/Point.php +++ b/src/Geometries/Point.php @@ -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 ); }