- Issue created by @franckylfs
PHP Fatal error: Declaration of Drupal\search_api_gendev\Controller\ItemController::create(Symfony\Component\DependencyInjection\ContainerInterface $container) must be compatible with Drupal\devel\Controller\EntityDebugController::create(Symfony\Component\DependencyInjection\ContainerInterface $container): static in /var/www/docroot/modules/contrib/search_api_gendev/src/Controller/ItemController.php on line 44
composer require 'drupal/search_api_gendev:1.0.x-dev@dev'
drush en search_api_gendev
Adds : static
to line 44 like this
public static function create(ContainerInterface $container): static {
Patch validation
Needs review
1.0
Code