From da52bbad8d41abaea5779e6ebd00d8da3a3dfd4f Mon Sep 17 00:00:00 2001 From: Pieter Frenssen Date: Fri, 7 Feb 2020 13:43:15 +0200 Subject: [PATCH] Move the line that stores the dependency so that it has the same position as the argument. --- src/GroupTypeManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GroupTypeManager.php b/src/GroupTypeManager.php index 474beac92..0cbd48e74 100644 --- a/src/GroupTypeManager.php +++ b/src/GroupTypeManager.php @@ -162,6 +162,7 @@ class GroupTypeManager implements GroupTypeManagerInterface { */ public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, EventDispatcherInterface $event_dispatcher, CacheBackendInterface $cache, PermissionManagerInterface $permission_manager, OgRoleManagerInterface $og_role_manager, RouteBuilderInterface $route_builder, OgGroupAudienceHelperInterface $group_audience_helper) { $this->configFactory = $config_factory; + $this->entityTypeManager = $entity_type_manager; $this->entityTypeBundleInfo = $entity_type_bundle_info; $this->eventDispatcher = $event_dispatcher; $this->cache = $cache; @@ -169,7 +170,6 @@ public function __construct(ConfigFactoryInterface $config_factory, EntityTypeMa $this->ogRoleManager = $og_role_manager; $this->routeBuilder = $route_builder; $this->groupAudienceHelper = $group_audience_helper; - $this->entityTypeManager = $entity_type_manager; } /**