diff --git a/modules/apigee_edge_teams/src/Entity/ListBuilder/TeamAppListByTeam.php b/modules/apigee_edge_teams/src/Entity/ListBuilder/TeamAppListByTeam.php index 3510dec7..5283b6f9 100644 --- a/modules/apigee_edge_teams/src/Entity/ListBuilder/TeamAppListByTeam.php +++ b/modules/apigee_edge_teams/src/Entity/ListBuilder/TeamAppListByTeam.php @@ -61,17 +61,17 @@ class TeamAppListByTeam extends AppListBuilder implements ContainerInjectionInte * The time service. * @param \Drupal\Core\Routing\RouteMatchInterface $route_match * The route match object. - * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory - * The config factory. * @param \Drupal\apigee_edge\Entity\AppWarningsCheckerInterface $app_warnings_checker * The app warnings checker service. + * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory + * The config factory. */ - public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, RendererInterface $render, RequestStack $request_stack, TimeInterface $time, RouteMatchInterface $route_match, ?ConfigFactoryInterface $config_factory = NULL, AppWarningsCheckerInterface $app_warnings_checker) { + public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, RendererInterface $render, RequestStack $request_stack, TimeInterface $time, RouteMatchInterface $route_match, AppWarningsCheckerInterface $app_warnings_checker, ?ConfigFactoryInterface $config_factory = NULL) { if (!$config_factory) { $config_factory = \Drupal::service('config.factory'); } - parent::__construct($entity_type, $entity_type_manager, $render, $request_stack, $time, $config_factory, $app_warnings_checker); + parent::__construct($entity_type, $entity_type_manager, $render, $request_stack, $time, $app_warnings_checker, $config_factory); $this->routeMatch = $route_match; } @@ -86,8 +86,8 @@ public static function createInstance(ContainerInterface $container, EntityTypeI $container->get('request_stack'), $container->get('datetime.time'), $container->get('current_route_match'), - $container->get('config.factory'), - $container->get('apigee_edge.entity.app_warnings_checker') + $container->get('apigee_edge.entity.app_warnings_checker'), + $container->get('config.factory') ); } diff --git a/src/Entity/ListBuilder/AppListBuilder.php b/src/Entity/ListBuilder/AppListBuilder.php index 85e3c178..0bb79491 100644 --- a/src/Entity/ListBuilder/AppListBuilder.php +++ b/src/Entity/ListBuilder/AppListBuilder.php @@ -89,12 +89,12 @@ class AppListBuilder extends EdgeEntityListBuilder { * The request stack object. * @param \Drupal\Component\Datetime\TimeInterface $time * The time service. - * @param \Drupal\Core\Config\ConfigFactoryInterface|null $config_factory - * The config factory. * @param \Drupal\apigee_edge\Entity\AppWarningsCheckerInterface $app_warnings_checker * The app warnings checker service. + * @param \Drupal\Core\Config\ConfigFactoryInterface|null $config_factory + * The config factory. */ - public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, RendererInterface $renderer, RequestStack $request_stack, TimeInterface $time, ?ConfigFactoryInterface $config_factory = NULL, AppWarningsCheckerInterface $app_warnings_checker) { + public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, RendererInterface $renderer, RequestStack $request_stack, TimeInterface $time, AppWarningsCheckerInterface $app_warnings_checker, ?ConfigFactoryInterface $config_factory = NULL) { if (!$config_factory) { $config_factory = \Drupal::service('config.factory'); } @@ -117,8 +117,8 @@ public static function createInstance(ContainerInterface $container, EntityTypeI $container->get('renderer'), $container->get('request_stack'), $container->get('datetime.time'), - $container->get('config.factory'), - $container->get('apigee_edge.entity.app_warnings_checker') + $container->get('apigee_edge.entity.app_warnings_checker'), + $container->get('config.factory') ); } diff --git a/src/Entity/ListBuilder/DeveloperAppListBuilderForDeveloper.php b/src/Entity/ListBuilder/DeveloperAppListBuilderForDeveloper.php index 051aa51b..4d6c3001 100644 --- a/src/Entity/ListBuilder/DeveloperAppListBuilderForDeveloper.php +++ b/src/Entity/ListBuilder/DeveloperAppListBuilderForDeveloper.php @@ -84,17 +84,17 @@ class DeveloperAppListBuilderForDeveloper extends AppListBuilder implements Cont * Currently logged-in user. * @param \Drupal\Core\Routing\RouteMatchInterface $route_match * The route match object. - * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory - * The config factory. * @param \Drupal\apigee_edge\Entity\AppWarningsCheckerInterface $app_warnings_checker * The app warnings checker service. + * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory + * The config factory. */ - public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, RendererInterface $render, RequestStack $request_stack, TimeInterface $time, AccountInterface $current_user, RouteMatchInterface $route_match, ?ConfigFactoryInterface $config_factory = NULL, AppWarningsCheckerInterface $app_warnings_checker) { + public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, RendererInterface $render, RequestStack $request_stack, TimeInterface $time, AccountInterface $current_user, RouteMatchInterface $route_match, AppWarningsCheckerInterface $app_warnings_checker, ?ConfigFactoryInterface $config_factory = NULL) { if (!$config_factory) { $config_factory = \Drupal::service('config.factory'); } - parent::__construct($entity_type, $entity_type_manager, $render, $request_stack, $time, $config_factory, $app_warnings_checker); + parent::__construct($entity_type, $entity_type_manager, $render, $request_stack, $time, $app_warnings_checker, $config_factory); $this->currentUser = $current_user; $this->routeMatch = $route_match; } @@ -111,8 +111,8 @@ public static function createInstance(ContainerInterface $container, EntityTypeI $container->get('datetime.time'), $container->get('current_user'), $container->get('current_route_match'), - $container->get('config.factory'), - $container->get('apigee_edge.entity.app_warnings_checker') + $container->get('apigee_edge.entity.app_warnings_checker'), + $container->get('config.factory') ); }