Skip to content
Snippets Groups Projects
Commit a7a02602 authored by Joël Pittet's avatar Joël Pittet Committed by Adriano Cori
Browse files

Issue #3277266: PrevnextService::__construct() error with webprofiler

parent d3aa8112
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
namespace Drupal\prevnext;
use Drupal\Core\Entity\EntityTypeManager;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\node\Entity\Node;
use Drupal\node\NodeInterface;
......@@ -14,9 +14,9 @@ use Drupal\node\NodeInterface;
class PrevnextService implements PrevnextServiceInterface {
/**
* The entity manager.
* The entity type manager.
*
* @var Drupal\Core\Entity\EntityTypeManager
* @var Drupal\Core\Entity\EntityTypeManagerInterface
*/
protected $entityTypeManager;
......@@ -30,10 +30,10 @@ class PrevnextService implements PrevnextServiceInterface {
/**
* PrevnextService constructor.
*
* @param EntityTypeManager $entityTypeManager
* @param EntityTypeManagerInterface $entityTypeManager
* The entity type manager instance.
*/
public function __construct(EntityTypeManager $entityTypeManager) {
public function __construct(EntityTypeManagerInterface $entityTypeManager) {
$this->entityTypeManager = $entityTypeManager;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment