Incompatible declaration of Drupal\menu_link_content_visibility\MenuLinkContentVisibilityLinkTreeManipulator::menuLinkCheckAccess - D9

Created on 7 January 2022, over 2 years ago
Updated 5 October 2023, 9 months ago

Problem/Motivation

On core D9 module throws warning:

Warning: Declaration of Drupal\menu_link_content_visibility\MenuLinkContentVisibilityLinkTreeManipulator::menuLinkCheckAccess(Drupal\Core\Menu\MenuLinkInterface $instance) should be compatible with Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess(Drupal\Core\Menu\MenuLinkInterface $instance, $nonedisplay = true) in /var/www/html/web/modules/contrib/menu_link_content_visibility/src/MenuLinkContentVisibilityLinkTreeManipulator.php on line 101

πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024