Skip to content

Commit

Permalink
Fix language locale delete (#2747)
Browse files Browse the repository at this point in the history
* Register generate service as service

* Fix locale:delete:language to work with webprofiler
  • Loading branch information
enzolutions authored Sep 30, 2016
1 parent 8092c8a commit b7392bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Command/Locale/LanguageDeleteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Drupal\Console\Command\Shared\LocaleTrait;
use Drupal\Console\Command\Shared\CommandTrait;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Entity\EntityTypeManager;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Console\Utils\Site;
use Drupal\Console\Annotations\DrupalCommand;

Expand All @@ -36,7 +36,7 @@ class LanguageDeleteCommand extends Command
protected $site;

/**
* @var EntityTypeManager
* @var EntityTypeManagerInterface
*/
protected $entityTypeManager;

Expand All @@ -48,12 +48,12 @@ class LanguageDeleteCommand extends Command
/**
* LoginUrlCommand constructor.
* @param Site $site
* @param EntityTypeManager $entityTypeManager
* @param EntityTypeManagerInterface $entityTypeManager
* @param ModuleHandlerInterface $moduleHandler
*/
public function __construct(
Site $site,
EntityTypeManager $entityTypeManager,
EntityTypeManagerInterface $entityTypeManager,
ModuleHandlerInterface $moduleHandler
) {
$this->site = $site;
Expand Down

0 comments on commit b7392bd

Please sign in to comment.