Wrong type in a @var comment causes problems with static analysis. This should be fixed:

-    /** @var \Drupal\Core\Language\LanguageInterface $language_manager */
+    /** @var \Drupal\Core\Language\LanguageManagerInterface $language_manager */
     $language_manager = \Drupal::languageManager();
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR created an issue. See original summary.

TR’s picture

Status: Active » Needs review
FileSize
1 KB

  • TR committed 8040056 on 8.x-1.x
    Issue #3164459 by TR: Wrong type in a @var comment causes problems with...
TR’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.