Commit 23904c93 authored by Pawel G's avatar Pawel G

Issue #3106644 by e0ipso, gbyte.co: Depend on LanguageManagerInterface, not LanguageManager

parent f99c8fa7
......@@ -6,7 +6,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\simple_sitemap\Simplesitemap;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\Language\LanguageManager;
use Drupal\Core\Language\LanguageManagerInterface;
/**
* Class SimplesitemapSettingsForm
......@@ -23,12 +23,12 @@ class SimplesitemapSettingsForm extends SimplesitemapFormBase {
* SimplesitemapSettingsForm constructor.
* @param \Drupal\simple_sitemap\Simplesitemap $generator
* @param \Drupal\simple_sitemap\Form\FormHelper $form_helper
* @param \Drupal\Core\Language\LanguageManager $language_manager
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
*/
public function __construct(
Simplesitemap $generator,
FormHelper $form_helper,
LanguageManager $language_manager
LanguageManagerInterface $language_manager
) {
parent::__construct(
$generator,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment