- Issue created by @zerbash
In HttpClientManagerFactory.php
, the constructor parameters are type-hinted with fully qualified class names in the docblock, but the corresponding classes are used by short name in the signature without use
statements. This is throwing the following type errors:
TypeError: Drupal\http_client_manager\HttpClientManagerFactory::__construct(): Argument #2 ($dispatcher) must be of type Drupal\http_client_manager\EventDispatcherInterface, Symfony\Component\EventDispatcher\EventDispatcher given, called in /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\http_client_manager\HttpClientManagerFactory->__construct() (line 52 of /var/www/web/modules/contrib/http_client_manager/src/HttpClientManagerFactory.php).
TypeError: Drupal\http_client_manager\HttpClientManagerFactory::__construct(): Argument #3 ($requestLocation) must be of type Drupal\http_client_manager\RequestLocationPluginManager, Drupal\http_client_manager\RequestLocation\RequestLocationPluginManager given, called in /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\http_client_manager\HttpClientManagerFactory->__construct() (line 52 of /var/www/web/modules/contrib/http_client_manager/src/HttpClientManagerFactory.php).
Active
10.0
Code