With recent versions of Drupal, you get the following deprecation warning:

Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add "array" as a native return type declaration in the future. Do the same in implementation "Drupal\search_api_attachments\EventSubscriber\ConfigEventsSubscriber" now to avoid errors or add an explicit @return annotation to suppress this message.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Status: Active » Needs review

  • izus committed 6b1b075f on 10.0.x authored by drunken monkey
    Resolve #3563085: Fix deprecation warning about missing return type hint...
izus’s picture

Status: Needs review » Fixed

thanks
this is now merged and released

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

izus’s picture

Status: Fixed » Closed (fixed)