From 5c1b3c0233cac951752d5c641407ca00469804b1 Mon Sep 17 00:00:00 2001 From: Michael van Schaik Date: Tue, 10 Nov 2020 12:47:09 +0100 Subject: [PATCH] Fix is_a() call (Removed Object/Object class removed) --- src/LatLongField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LatLongField.php b/src/LatLongField.php index 49ef55b..9b7a7e0 100644 --- a/src/LatLongField.php +++ b/src/LatLongField.php @@ -105,7 +105,7 @@ public function getAddressInputFields() // String if(is_string($field)) $ret[] = ArrayData::create(array('value' => $field)); // pointer to FormField (use getName()) - if(is_object($field) && $field->is_a(FormField::class)){ + if(is_object($field) && is_a($field, FormField::class)){ $ret[] = ArrayData::create(array('value' => $field->getName())); } }