From 4b8ac9c267d622ca32815e7dd650595e2926e0ef Mon Sep 17 00:00:00 2001 From: Scott Hutchinson Date: Mon, 21 Nov 2022 15:46:07 +1300 Subject: [PATCH] Resolve deprecation warning in PHP 8 --- src/LeafletField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LeafletField.php b/src/LeafletField.php index 4f07379..4cd3d40 100755 --- a/src/LeafletField.php +++ b/src/LeafletField.php @@ -49,7 +49,7 @@ class LeafletField extends FormField * @param string $name The name of the field * @param string $title The title of the field */ - public function __construct($name, $title = null, DataObject $data) + public function __construct($name, $title, DataObject $data) { $this->data = $data;