Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
pwtyler committed Nov 12, 2024
1 parent eb252e7 commit 0c8ed65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/Commands/Reload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@

use Drupal\Core\Logger\LoggerChannelFactoryInterface;
use Drupal\Core\Logger\LoggerChannelTrait;
use Drupal\search_api_pantheon\Plugin\SolrConnector\PantheonSolrConnector;
use Drupal\search_api_pantheon\Services\PantheonGuzzle;
use Drupal\search_api_pantheon\Services\SchemaPoster;
use Drush\Commands\DrushCommands;
use Symfony\Component\Finder\Finder;

/**
* Drush Search Api Pantheon Schema Commands.
*/
class Schema extends DrushCommands {
class Reload extends DrushCommands {
use LoggerChannelTrait;

/**
Expand Down Expand Up @@ -51,13 +49,12 @@ public function __construct(
}

/**
* Search_api_pantheon:reloadSchema
* Search_api_pantheon:reloadSchema.
*
* @usage search-api-pantheon:reloadSchema
* Reload the latest schema
*
* @command search-api-pantheon:reloadSchema
*
*/
public function reloadSchema() {
try {
Expand All @@ -67,4 +64,5 @@ public function reloadSchema() {
$this->logger->error((string) $e);
}
}

}
1 change: 0 additions & 1 deletion tests/Unit/EndpointServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Drupal\search_api_pantheon\tests\Unit;

use Drupal\search_api_pantheon\Services\Endpoint;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use PHPUnit\Framework\TestCase;

/**
Expand Down

0 comments on commit 0c8ed65

Please sign in to comment.