From d955523d45fd7ffbfdcf0950cf7eda36c0776818 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Mon, 11 Apr 2022 11:49:41 +0200 Subject: [PATCH] Minor updates --- src/Elements/MapElement.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Elements/MapElement.php b/src/Elements/MapElement.php index 3b8796a..ba626c0 100755 --- a/src/Elements/MapElement.php +++ b/src/Elements/MapElement.php @@ -41,7 +41,7 @@ class MapElement extends ElementContent MapExtension::class, ]; - public function getType():string + public function getType(): string { return self::$singular_name; } @@ -61,7 +61,7 @@ class MapElement extends ElementContent GridField::create( 'Locations', 'Locations', - $this->owner->Locations(), + $this->Locations(), $cfg = GridFieldConfig_RelationEditor::create(100) ) ]);