Skip to content

Commit

Permalink
event dispatcher interface
Browse files Browse the repository at this point in the history
stovak committed Jan 21, 2025

Verified

This commit was signed with the committer’s verified signature.
stovak Tom Stovall
1 parent 7f0e0d3 commit e81620c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Services/SolariumClient.php
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
use Solarium\Core\Query\Result\ResultInterface;
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\search_api_pantheon\Solarium\EventDispatcher\Psr14Bridge;
use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

/**
* Customized Solrium Client to send Guzzle debugging to log entries.
@@ -21,7 +21,7 @@ class SolariumClient extends Client {
/**
* Class constructor.
*/
public function __construct(PantheonGuzzle $guzzle, Endpoint $endpoint, LoggerChannelFactoryInterface $logger_factory, ContainerAwareEventDispatcher $event_dispatcher) {
public function __construct(PantheonGuzzle $guzzle, Endpoint $endpoint, LoggerChannelFactoryInterface $logger_factory, EventDispatcherInterface $event_dispatcher) {
$drupal_major_parts = explode('.', \Drupal::VERSION);
$drupal_major = reset($drupal_major_parts);
if ($drupal_major < 9) {

0 comments on commit e81620c

Please sign in to comment.