Commit ac2411df authored by git's avatar git Committed by James Williams
Browse files

Issue #3297482 by Project Update Bot: Automated Drupal 10 compatibility fixes

parent 36cc41a0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@ name: Language Hierarchy
type: module
description: 'Allows users to configure inheritance between languages.'
package: Multilingual
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^8 || ^9 || ^10
dependencies:
  - drupal:language
+2 −2
Original line number Diff line number Diff line
@@ -2,9 +2,9 @@

namespace Drupal\language_hierarchy\EventSubscriber;

use Symfony\Contracts\EventDispatcher\Event;
use Drupal\Core\Config\ConfigEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\EventDispatcher\Event;

/**
 * Class LanguageHierarchyConfigEventSubscriber.
@@ -16,7 +16,7 @@ class LanguageHierarchyConfigEventSubscriber implements EventSubscriberInterface
  /**
   * This method is called when the config.importer.import event is dispatched.
   *
   * @param \Symfony\Component\EventDispatcher\Event $event
   * @param \Symfony\Contracts\EventDispatcher\Event $event
   *   The config import event.
   */
  public function onConfigImport(Event $event) {
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ class LocaleStringTest extends CoreLocaleStringTest {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    // We have to skip parent::setUp() here and go straight to the
    // KernelTestBase since parent::setUp() has no way of calling
    // $this->installSchema() prior to the language creation.
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class StringDatabaseStorageDecoratorTest extends KernelTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    $this->installSchema('language_hierarchy', ['language_hierarchy_priority']);