Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prevnext-3433980
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
prevnext-3433980
Commits
a7a02602
Commit
a7a02602
authored
2 years ago
by
Joël Pittet
Committed by
Adriano Cori
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3277266
: PrevnextService::__construct() error with webprofiler
parent
d3aa8112
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/PrevnextService.php
+5
-5
5 additions, 5 deletions
src/PrevnextService.php
with
5 additions
and
5 deletions
src/PrevnextService.php
+
5
−
5
View file @
a7a02602
...
...
@@ -2,7 +2,7 @@
namespace
Drupal\prevnext
;
use
Drupal\Core\Entity\EntityTypeManager
;
use
Drupal\Core\Entity\EntityTypeManager
Interface
;
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\EntityTypeManager
Interface
*/
protected
$entityTypeManager
;
...
...
@@ -30,10 +30,10 @@ class PrevnextService implements PrevnextServiceInterface {
/**
* PrevnextService constructor.
*
* @param EntityTypeManager $entityTypeManager
* @param EntityTypeManager
Interface
$entityTypeManager
* The entity type manager instance.
*/
public
function
__construct
(
EntityTypeManager
$entityTypeManager
)
{
public
function
__construct
(
EntityTypeManager
Interface
$entityTypeManager
)
{
$this
->
entityTypeManager
=
$entityTypeManager
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment