Commit 5d2b7fba authored by xjm's avatar xjm
Browse files

Issue #2924779 by zaporylie, martin107: Fix existing but somehow invalid @var annotation

parent 37869316
......@@ -13,7 +13,7 @@ class PoItem {
/**
* The language code this translation is in.
*
* @car string
* @var string
*/
private $_langcode;
......
......@@ -13,7 +13,7 @@ class LanguagesCacheContext implements CalculatedCacheContextInterface {
/**
* The language manager.
*
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
* @var \Drupal\Core\Language\LanguageManagerInterface
*/
protected $languageManager;
......
......@@ -60,7 +60,7 @@ class EntityFieldManager implements EntityFieldManagerInterface {
* - type: The field type.
* - bundles: The bundles in which the field appears.
*
* @return array
* @var array
*/
protected $fieldMap = [];
......
......@@ -52,7 +52,7 @@ class EntityViewBuilder extends EntityHandlerBase implements EntityHandlerInterf
/**
* The language manager.
*
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
* @var \Drupal\Core\Language\LanguageManagerInterface
*/
protected $languageManager;
......@@ -66,9 +66,9 @@ class EntityViewBuilder extends EntityHandlerBase implements EntityHandlerInterf
/**
* The EntityViewDisplay objects created for individual field rendering.
*
* @see \Drupal\Core\Entity\EntityViewBuilder::getSingleFieldDisplay()
* @var \Drupal\Core\Entity\Display\EntityViewDisplayInterface[]
*
* @param \Drupal\Core\Entity\Display\EntityViewDisplayInterface[]
* @see \Drupal\Core\Entity\EntityViewBuilder::getSingleFieldDisplay()
*/
protected $singleFieldDisplays;
......
......@@ -40,7 +40,7 @@ class KeyValueFactory implements KeyValueFactoryInterface {
protected $stores = [];
/**
* var \Symfony\Component\DependencyInjection\ContainerInterface
* @var \Symfony\Component\DependencyInjection\ContainerInterface
*/
protected $container;
......
......@@ -17,7 +17,7 @@ class ContextDefinition implements ContextDefinitionInterface {
/**
* The data type of the data.
*
* @return string
* @var string
* The data type.
*/
protected $dataType;
......@@ -25,7 +25,7 @@ class ContextDefinition implements ContextDefinitionInterface {
/**
* The human-readable label.
*
* @return string
* @var string
* The label.
*/
protected $label;
......@@ -33,7 +33,7 @@ class ContextDefinition implements ContextDefinitionInterface {
/**
* The human-readable description.
*
* @return string|null
* @var string|null
* The description, or NULL if no description is available.
*/
protected $description;
......
......@@ -78,7 +78,7 @@ public static function defaultSettings() {
protected $entityFormBuilder;
/**
* @param \Drupal\Core\Routing\RouteMatchInterface $routeMatch
* @var \Drupal\Core\Routing\RouteMatchInterface
*/
protected $routeMatch;
......
......@@ -61,7 +61,7 @@ class ConfigNamesMapper extends PluginBase implements ConfigMapperInterface, Con
/**
* The base route object that the mapper is attached to.
*
* @return \Symfony\Component\Routing\Route
* @var \Symfony\Component\Routing\Route
*/
protected $baseRoute;
......
......@@ -62,7 +62,7 @@ class ConfigTranslationController extends ControllerBase {
/**
* The language manager.
*
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
* @var \Drupal\Core\Language\LanguageManagerInterface
*/
protected $languageManager;
......
......@@ -41,7 +41,7 @@ class LanguageRequestSubscriber implements EventSubscriberInterface {
/**
* The current active user.
*
* @return \Drupal\Core\Session\AccountInterface
* @var \Drupal\Core\Session\AccountInterface
*/
protected $currentUser;
......
......@@ -28,7 +28,7 @@ abstract class LanguageNegotiationMethodBase implements LanguageNegotiationMetho
/**
* The current active user.
*
* @return \Drupal\Core\Session\AccountInterface
* @var \Drupal\Core\Session\AccountInterface
*/
protected $currentUser;
......
......@@ -38,7 +38,7 @@ class LanguageNegotiator implements LanguageNegotiatorInterface {
/**
* The settings instance.
*
* @return \Drupal\Core\Site\Settings
* @var \Drupal\Core\Site\Settings
*/
protected $settings;
......@@ -52,7 +52,7 @@ class LanguageNegotiator implements LanguageNegotiatorInterface {
/**
* The current active user.
*
* @return \Drupal\Core\Session\AccountInterface
* @var \Drupal\Core\Session\AccountInterface
*/
protected $currentUser;
......
......@@ -15,7 +15,7 @@ class MigrationPluginManagerTest extends UnitTestCase {
/**
* A plugin manager.
*
* @param \Drupal\migrate\Plugin\MigrationPluginManager $pluginManager
* @var \Drupal\migrate\Plugin\MigrationPluginManager
*/
protected $pluginManager;
......
......@@ -97,7 +97,7 @@ abstract class WebTestBase extends TestBase {
/**
* The headers of the page currently loaded in the internal browser.
*
* @var Array
* @var array
*/
protected $headers;
......
......@@ -72,7 +72,7 @@ class EntityFilteringThemeTest extends WebTestBase {
/**
* A string containing markup and JS.
*
* @string
* @var string
*/
protected $xssLabel = "string with <em>HTML</em> and <script>alert('JS');</script>";
......
......@@ -111,7 +111,7 @@ class ViewsDisplay extends ViewsPluginAnnotationBase {
/**
* The theme function used to render the display's output.
*
* @return string
* @var string
*/
public $theme;
......
......@@ -50,7 +50,7 @@ class ViewsPager extends ViewsPluginAnnotationBase {
/**
* The theme function used to render the pager's output.
*
* @return string
* @var string
*/
public $theme;
......
......@@ -50,7 +50,7 @@ class ViewsRow extends ViewsPluginAnnotationBase {
/**
* The theme function used to render the row output.
*
* @return string
* @var string
*/
public $theme;
......
......@@ -20,7 +20,7 @@ class ViewsDataHelper {
/**
* A prepared list of all fields, keyed by base_table and handler type.
*
* @param array
* @var array
*/
protected $fields;
......
......@@ -25,7 +25,7 @@ class AccessTest extends ViewTestBase {
/**
* Modules to enable.
*
* @return array
* @var array
*/
public static $modules = ['node'];
......
......@@ -46,7 +46,7 @@ class CounterTest extends UnitTestCase {
/**
* The handler definition of the counter field.
*
* @return array
* @var array
*/
protected $definition;
......
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