Skip to content

Commit

Permalink
Fix is_a() call
Browse files Browse the repository at this point in the history
(Removed Object/Object class removed)
  • Loading branch information
micschk authored Nov 10, 2020
1 parent 62cd452 commit 5c1b3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LatLongField.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
}
Expand Down

0 comments on commit 5c1b3c0

Please sign in to comment.