Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5d2b7fba
Commit
5d2b7fba
authored
Nov 22, 2017
by
xjm
Browse files
Issue
#2924779
by zaporylie, martin107: Fix existing but somehow invalid @var annotation
parent
37869316
Changes
21
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Component/Gettext/PoItem.php
View file @
5d2b7fba
...
...
@@ -13,7 +13,7 @@ class PoItem {
/**
* The language code this translation is in.
*
* @
c
ar string
* @
v
ar string
*/
private
$_langcode
;
...
...
core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php
View file @
5d2b7fba
...
...
@@ -13,7 +13,7 @@ class LanguagesCacheContext implements CalculatedCacheContextInterface {
/**
* The language manager.
*
* @
p
ar
am
\Drupal\Core\Language\LanguageManagerInterface
$language_manager
* @
v
ar \Drupal\Core\Language\LanguageManagerInterface
*/
protected
$languageManager
;
...
...
core/lib/Drupal/Core/Entity/EntityFieldManager.php
View file @
5d2b7fba
...
...
@@ -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
=
[];
...
...
core/lib/Drupal/Core/Entity/EntityViewBuilder.php
View file @
5d2b7fba
...
...
@@ -52,7 +52,7 @@ class EntityViewBuilder extends EntityHandlerBase implements EntityHandlerInterf
/**
* The language manager.
*
* @
p
ar
am
\Drupal\Core\Language\LanguageManagerInterface
$language_manager
* @
v
ar \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\EntityView
Builder::getSingleFieldDisplay()
* @
var
\Drupal\Core\Entity\
Display\
EntityView
DisplayInterface[]
*
* @
param
\Drupal\Core\Entity\
Display\
EntityView
DisplayInterface[]
* @
see
\Drupal\Core\Entity\EntityView
Builder::getSingleFieldDisplay()
*/
protected
$singleFieldDisplays
;
...
...
core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php
View file @
5d2b7fba
...
...
@@ -40,7 +40,7 @@ class KeyValueFactory implements KeyValueFactoryInterface {
protected
$stores
=
[];
/**
* var \Symfony\Component\DependencyInjection\ContainerInterface
*
@
var \Symfony\Component\DependencyInjection\ContainerInterface
*/
protected
$container
;
...
...
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php
View file @
5d2b7fba
...
...
@@ -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
;
...
...
core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php
View file @
5d2b7fba
...
...
@@ -78,7 +78,7 @@ public static function defaultSettings() {
protected
$entityFormBuilder
;
/**
* @
p
ar
am
\Drupal\Core\Routing\RouteMatchInterface
$routeMatch
* @
v
ar \Drupal\Core\Routing\RouteMatchInterface
*/
protected
$routeMatch
;
...
...
core/modules/config_translation/src/ConfigNamesMapper.php
View file @
5d2b7fba
...
...
@@ -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
;
...
...
core/modules/config_translation/src/Controller/ConfigTranslationController.php
View file @
5d2b7fba
...
...
@@ -62,7 +62,7 @@ class ConfigTranslationController extends ControllerBase {
/**
* The language manager.
*
* @
p
ar
am
\Drupal\Core\Language\LanguageManagerInterface
$language_manager
* @
v
ar \Drupal\Core\Language\LanguageManagerInterface
*/
protected
$languageManager
;
...
...
core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php
View file @
5d2b7fba
...
...
@@ -41,7 +41,7 @@ class LanguageRequestSubscriber implements EventSubscriberInterface {
/**
* The current active user.
*
* @
return
\Drupal\Core\Session\AccountInterface
* @
var
\Drupal\Core\Session\AccountInterface
*/
protected
$currentUser
;
...
...
core/modules/language/src/LanguageNegotiationMethodBase.php
View file @
5d2b7fba
...
...
@@ -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
;
...
...
core/modules/language/src/LanguageNegotiator.php
View file @
5d2b7fba
...
...
@@ -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
;
...
...
core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php
View file @
5d2b7fba
...
...
@@ -15,7 +15,7 @@ class MigrationPluginManagerTest extends UnitTestCase {
/**
* A plugin manager.
*
* @
p
ar
am
\Drupal\migrate\Plugin\MigrationPluginManager
$pluginManager
* @
v
ar \Drupal\migrate\Plugin\MigrationPluginManager
*/
protected
$pluginManager
;
...
...
core/modules/simpletest/src/WebTestBase.php
View file @
5d2b7fba
...
...
@@ -97,7 +97,7 @@ abstract class WebTestBase extends TestBase {
/**
* The headers of the page currently loaded in the internal browser.
*
* @var
A
rray
* @var
a
rray
*/
protected
$headers
;
...
...
core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php
View file @
5d2b7fba
...
...
@@ -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>"
;
...
...
core/modules/views/src/Annotation/ViewsDisplay.php
View file @
5d2b7fba
...
...
@@ -111,7 +111,7 @@ class ViewsDisplay extends ViewsPluginAnnotationBase {
/**
* The theme function used to render the display's output.
*
* @
return
string
* @
var
string
*/
public
$theme
;
...
...
core/modules/views/src/Annotation/ViewsPager.php
View file @
5d2b7fba
...
...
@@ -50,7 +50,7 @@ class ViewsPager extends ViewsPluginAnnotationBase {
/**
* The theme function used to render the pager's output.
*
* @
return
string
* @
var
string
*/
public
$theme
;
...
...
core/modules/views/src/Annotation/ViewsRow.php
View file @
5d2b7fba
...
...
@@ -50,7 +50,7 @@ class ViewsRow extends ViewsPluginAnnotationBase {
/**
* The theme function used to render the row output.
*
* @
return
string
* @
var
string
*/
public
$theme
;
...
...
core/modules/views/src/ViewsDataHelper.php
View file @
5d2b7fba
...
...
@@ -20,7 +20,7 @@ class ViewsDataHelper {
/**
* A prepared list of all fields, keyed by base_table and handler type.
*
* @
p
ar
am
array
* @
v
ar array
*/
protected
$fields
;
...
...
core/modules/views/tests/src/Functional/Plugin/AccessTest.php
View file @
5d2b7fba
...
...
@@ -25,7 +25,7 @@ class AccessTest extends ViewTestBase {
/**
* Modules to enable.
*
* @
return
array
* @
var
array
*/
public
static
$modules
=
[
'node'
];
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment