Skip to content

Commit 9d2a265

Browse files
authored
Update Point.php to use with_wkt_options config
1 parent ca27447 commit 9d2a265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Types/Point.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(float $lat = 0, float $lng = 0, ?int $srid = null)
2323
? config('laravel-spatial.default_srid') ?? 0
2424
: $srid;
2525

26-
$this->wktOptions = config('laravel-spatial.wkt_options', true) === true
26+
$this->wktOptions = config('laravel-spatial.with_wkt_options', true) === true
2727
? ', \'axis-order=long-lat\''
2828
: '';
2929
}

0 commit comments

Comments
 (0)