Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
stovak committed Jan 27, 2025
1 parent 73913af commit 95e79da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/Services/PantheonGuzzle.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Session\AccountProxyInterface;
use Solarium\Core\Client\Endpoint;
use Solarium\Core\Client\Request;
use Solarium\Core\Client\Response;

/**
* Pantheon-specific extension of the Guzzle http query class.
Expand Down
3 changes: 1 addition & 2 deletions src/Services/SolariumClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Drupal\search_api_pantheon\Services;

use Solarium\Core\Client\Adapter\Psr18Adapter;
use Psr\Log\LoggerAwareTrait;
use Solarium\Core\Client\Client;
use Solarium\Core\Client\Request;
Expand All @@ -29,7 +28,7 @@ public function __construct(
$drupal_major_parts = explode('.', \Drupal::VERSION);
$drupal_major = reset($drupal_major_parts);
parent::__construct(
$psr18->getAdapter(),
$guzzle->getAdapter(),
$event_dispatcher,
['endpoint' => [$endpoint]],
);
Expand Down

0 comments on commit 95e79da

Please sign in to comment.