Skip to content
Snippets Groups Projects
Commit f59aa799 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Issue #3459899 by cbccharlie, jurgenhaas: Add Drush 11 compatibility

parent da4d12d7
No related branches found
No related tags found
No related merge requests found
Pipeline #220702 failed
......@@ -4,7 +4,7 @@ namespace Drupal\drd_agent\Drush\Commands;
use Drupal\drd_agent\Setup;
use Drush\Attributes as CLI;
use Drush\Commands\DrushCommands;
use Drush\Commands\DrushCommands as RootDrushCommands;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
......@@ -12,7 +12,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
*
* @package Drupal\drd_agent
*/
class Drush extends DrushCommands {
class DrushCommands extends RootDrushCommands {
/**
* The setup service.
......@@ -41,7 +41,7 @@ class Drush extends DrushCommands {
* @return \Drupal\drd_agent\Drush\Commands\Drush
* The instance of Drush commands.
*/
public static function create(ContainerInterface $container): Drush {
public static function create(ContainerInterface $container): DrushCommands {
return new self(
$container->get('drd_agent.setup'),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment