Skip to content

Commit

Permalink
Resolve deprecation warning in PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
scott1702 authored Nov 21, 2022
1 parent f4dc78b commit 4b8ac9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LeafletField.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4b8ac9c

Please sign in to comment.