From d542975b9fdcf3ea9118eda66764b04e8db436f9 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Thu, 22 Sep 2016 15:15:47 +0100 Subject: [PATCH] No need to define class types in postgisFields array --- app/Place.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Place.php b/app/Place.php index 7ce34599..14682f65 100644 --- a/app/Place.php +++ b/app/Place.php @@ -33,8 +33,8 @@ class Place extends Model * @var array */ protected $postgisFields = [ - 'location' => Point::class, - 'polygon' => Polygon::class, + 'location', + 'polygon', ]; /**