PHP Deprecation: Implicitly marking parameter $menu_names as nullable is deprecated

Created on 23 February 2025, 3 months ago

Error:
PHP Deprecated: Drupal\responsive_menu\Form\SettingsForm::getMenuOptions(): Implicitly marking parameter $menu_names as nullable is deprecated, the explicit nullable type must be used instead in /web/modules/contrib/responsive_menu/src/Form/SettingsForm.php on line 407

protected function getMenuOptions(array $menu_names = NULL) {


Fix:

protected function getMenuOptions(?array $menu_names = NULL) {

πŸ› Bug report
Status

Active

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States drupgirl

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

Comments & Activities

Production build 0.71.5 2024