Skip to content
Snippets Groups Projects
Commit 12740f13 authored by Jukka Huhta's avatar Jukka Huhta Committed by Joachim Feltkamp
Browse files

Issue #3273682 by jhuhta: Argument 2 passed to...

Issue #3273682 by jhuhta: Argument 2 passed to Drupal\cookies_module_handler\LibrariesService::__construct() must be an instance of Drupal\cookies_module_handler\EntityTypeManagerWrapper
parent 225ccc9c
Branches
Tags
No related merge requests found
......@@ -2,9 +2,9 @@
namespace Drupal\cookies_module_handler;
use Drupal\Core\Asset\LibraryDiscoveryInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandler;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\webprofiler\Entity\EntityManagerWrapper;
/**
* Class LibrariesService.
......@@ -20,9 +20,9 @@ class LibrariesService {
protected $libraryDiscovery;
/**
* Drupal\webprofiler\Entity\EntityManagerWrapper definition.
* Drupal\Core\Entity\EntityTypeManager definition.
*
* @var \Drupal\webprofiler\Entity\EntityManagerWrapper
* @var \Drupal\Core\Entity\EntityTypeManagerInterface
*/
protected $entityTypeManager;
......@@ -44,12 +44,12 @@ class LibrariesService {
* Constructs a new LibrariesService object.
*
* @param \Drupal\Core\Asset\LibraryDiscoveryInterface $library_discovery
* @param \Drupal\webprofiler\Entity\EntityManagerWrapper $entity_type_manager
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
* @param \Drupal\Core\Extension\ModuleHandler $module_handler
*/
public function __construct(
LibraryDiscoveryInterface $library_discovery,
EntityManagerWrapper $entity_type_manager,
EntityTypeManagerInterface $entity_type_manager,
ModuleHandler $module_handler
) {
$this->libraryDiscovery = $library_discovery;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment