Issue #3410136 Fatal error after upgrading to drupal 10
fixing Fatal error: Declaration of Drupal\menu_link_config\Plugin\Menu\MenuLinkConfig::getEntity() must be compatible with Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::getEntity():
fixing Fatal error: Declaration of Drupal\menu_link_config\Plugin\Menu\MenuLinkConfig::getEntity() must be compatible with Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::getEntity():