Verified Commit d12b95d2 authored by Dave Long's avatar Dave Long
Browse files

Issue #3374223 by andypost, smustgrave, neclimdul: Fix deprecated overloaded...

Issue #3374223 by andypost, smustgrave, neclimdul: Fix deprecated overloaded function usage in PHP 8.3

(cherry picked from commit 4912be31)
parent 02c6babe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ protected function handlePluginNotFound($plugin_id, array $configuration) {
   *   If the method is not implemented in the concrete plugin manager class.
   */
  protected function getFallbackPluginId($plugin_id, array $configuration = []) {
    throw new \BadMethodCallException(get_class() . '::getFallbackPluginId() not implemented.');
    throw new \BadMethodCallException(static::class . '::getFallbackPluginId() not implemented.');
  }

  /**
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ protected function setUp(): void {
    parent::setUp();

    $property = new \ReflectionProperty('Drupal\Component\Utility\Html', 'seenIdsInit');
    $property->setValue(NULL);
    $property->setValue(NULL, NULL);
  }

  /**