Skip to content
Snippets Groups Projects
Commit 18ffe4bc authored by Matthijs Van Assche's avatar Matthijs Van Assche
Browse files

Issue #3511474: Change argument order

parent f6c9d3e2
No related branches found
No related tags found
No related merge requests found
...@@ -27,12 +27,12 @@ class SettingsForm extends ConfigFormBase { ...@@ -27,12 +27,12 @@ class SettingsForm extends ConfigFormBase {
* *
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
* The config factory. * The config factory.
* @param \Drupal\Component\Plugin\PluginManagerInterface $cache_debug_logger_manager
* The cache debug logger manager.
* @param \Drupal\Core\Config\TypedConfigManager $typed_config_manager * @param \Drupal\Core\Config\TypedConfigManager $typed_config_manager
* The typed config manager. * The typed config manager.
* @param \Drupal\Component\Plugin\PluginManagerInterface $cache_debug_logger_manager
* The cache debug logger manager.
*/ */
public function __construct(ConfigFactoryInterface $config_factory, PluginManagerInterface $cache_debug_logger_manager, TypedConfigManager $typed_config_manager) { public function __construct(ConfigFactoryInterface $config_factory, TypedConfigManager $typed_config_manager, PluginManagerInterface $cache_debug_logger_manager) {
parent::__construct($config_factory, $typed_config_manager); parent::__construct($config_factory, $typed_config_manager);
$this->cacheDebugLoggerManager = $cache_debug_logger_manager; $this->cacheDebugLoggerManager = $cache_debug_logger_manager;
...@@ -44,8 +44,8 @@ class SettingsForm extends ConfigFormBase { ...@@ -44,8 +44,8 @@ class SettingsForm extends ConfigFormBase {
public static function create(ContainerInterface $container): static { public static function create(ContainerInterface $container): static {
return new static( return new static(
$container->get('config.factory'), $container->get('config.factory'),
$container->get('plugin.manager.cache_debug_logger'), $container->get('config.typed'),
$container->get('config.typed') $container->get('plugin.manager.cache_debug_logger')
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment