Unverified Commit 3265a80a authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3240362 by andypost: \Drupal\tour\TipPluginBase::getLocation() causes...

Issue #3240362 by andypost: \Drupal\tour\TipPluginBase::getLocation() causes deprecations on PHP 8.1
parent 01a737b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ public function getLocation(): ?string {

    // The location values accepted by PopperJS, the library used for
    // positioning the tip.
    assert(in_array(trim($location), [
    assert(in_array(trim($location ?? ''), [
      'auto',
      'auto-start',
      'auto-end',