Skip to content

Commit

Permalink
Change class type hints to interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterHolvoet committed Dec 16, 2021
1 parent 390eb2b commit 584b281
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Drupal/Commands/core/BaseFieldOverrideCreateCommands.php
Expand Up @@ -2,8 +2,8 @@

namespace Drush\Drupal\Commands\core;

use Drupal\Core\Entity\EntityFieldManager;
use Drupal\Core\Entity\EntityTypeBundleInfo;
use Drupal\Core\Entity\EntityFieldManagerInterface;
use Drupal\Core\Entity\EntityTypeBundleInfoInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Field\BaseFieldDefinition;
use Drupal\Core\Field\Entity\BaseFieldOverride;
Expand All @@ -18,15 +18,15 @@ class BaseFieldOverrideCreateCommands extends DrushCommands

/** @var EntityTypeManagerInterface */
protected $entityTypeManager;
/** @var EntityTypeBundleInfo */
/** @var EntityTypeBundleInfoInterface */
protected $entityTypeBundleInfo;
/** @var EntityFieldManager */
/** @var EntityFieldManagerInterface */
protected $entityFieldManager;

public function __construct(
EntityTypeManagerInterface $entityTypeManager,
EntityTypeBundleInfo $entityTypeBundleInfo,
EntityFieldManager $entityFieldManager
EntityTypeBundleInfoInterface $entityTypeBundleInfo,
EntityFieldManagerInterface $entityFieldManager
) {
$this->entityTypeManager = $entityTypeManager;
$this->entityTypeBundleInfo = $entityTypeBundleInfo;
Expand Down

0 comments on commit 584b281

Please sign in to comment.