Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build_hooks
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
build_hooks
Commits
ba82fa9c
Commit
ba82fa9c
authored
May 30, 2023
by
Lio Novelli
Committed by
Lee Rowlands
May 30, 2023
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3358411
by useernamee: Interface should be used in constructor instead of class itself
parent
aef555b6
No related branches found
No related tags found
1 merge request
!9
Issue #3358411: Interface should be used in constructor instead of class itself
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Trigger.php
+3
-3
3 additions, 3 deletions
src/Trigger.php
with
3 additions
and
3 deletions
src/Trigger.php
+
3
−
3
View file @
ba82fa9c
...
...
@@ -5,7 +5,7 @@ namespace Drupal\build_hooks;
use
Drupal\build_hooks
\Event\BuildTrigger
;
use
Drupal\build_hooks
\Entity\FrontendEnvironmentInterface
;
use
Drupal\Core\Config\ConfigFactoryInterface
;
use
Drupal\Core\Entity\EntityTypeManager
;
use
Drupal\Core\Entity\EntityTypeManager
Interface
;
use
Drupal\Core\Logger\LoggerChannelFactoryInterface
;
use
Drupal\Core\Messenger\MessengerInterface
;
use
Drupal\Core\Messenger\MessengerTrait
;
...
...
@@ -78,7 +78,7 @@ class Trigger implements TriggerInterface {
/**
* The entity type manager.
*
* @var \Drupal\Core\Entity\EntityTypeManager
* @var \Drupal\Core\Entity\EntityTypeManager
Interface
*/
protected
$entityTypeManager
;
...
...
@@ -107,7 +107,7 @@ class Trigger implements TriggerInterface {
MessengerInterface
$messenger
,
LoggerChannelFactoryInterface
$logger
,
DeployLogger
$deployLogger
,
EntityTypeManager
$entityTypeManager
,
EntityTypeManager
Interface
$entityTypeManager
,
CacheTagsInvalidatorInterface
$cacheTagInvalidator
,
EventDispatcherInterface
$event_dispatcher
)
{
...
...
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
sign in
to comment