Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
222
Merge Requests
222
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
a7b67e7a
Commit
a7b67e7a
authored
Aug 29, 2016
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2721901
by Mile23, anoopjohn: Fix Drupal.Commenting.FunctionComment.MissingParamName
parent
17cd8920
Changes
50
Show whitespace changes
Inline
Side-by-side
Showing
50 changed files
with
62 additions
and
63 deletions
+62
-63
core/lib/Drupal/Component/Assertion/Inspector.php
core/lib/Drupal/Component/Assertion/Inspector.php
+1
-1
core/lib/Drupal/Component/Gettext/PoItem.php
core/lib/Drupal/Component/Gettext/PoItem.php
+1
-1
core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php
core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php
+4
-4
core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
+1
-1
core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
+4
-4
core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
+1
-1
core/lib/Drupal/Core/Config/ConfigCollectionInfo.php
core/lib/Drupal/Core/Config/ConfigCollectionInfo.php
+1
-1
core/lib/Drupal/Core/Config/ConfigCrudEvent.php
core/lib/Drupal/Core/Config/ConfigCrudEvent.php
+1
-1
core/lib/Drupal/Core/Config/ConfigInstallerInterface.php
core/lib/Drupal/Core/Config/ConfigInstallerInterface.php
+1
-1
core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php
core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php
+1
-1
core/lib/Drupal/Core/Cron.php
core/lib/Drupal/Core/Cron.php
+1
-1
core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php
...rupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php
+1
-1
core/lib/Drupal/Core/Field/FieldItemListInterface.php
core/lib/Drupal/Core/Field/FieldItemListInterface.php
+1
-1
core/lib/Drupal/Core/Field/FieldTypePluginManager.php
core/lib/Drupal/Core/Field/FieldTypePluginManager.php
+1
-1
core/lib/Drupal/Core/Form/FormStateInterface.php
core/lib/Drupal/Core/Form/FormStateInterface.php
+1
-1
core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php
.../Core/Language/ContextProvider/CurrentLanguageContext.php
+1
-1
core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php
...b/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php
+1
-1
core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php
core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php
+1
-1
core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
+1
-1
core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php
core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php
+1
-1
core/lib/Drupal/Core/Url.php
core/lib/Drupal/Core/Url.php
+2
-2
core/modules/action/src/Plugin/Action/EmailAction.php
core/modules/action/src/Plugin/Action/EmailAction.php
+2
-2
core/modules/book/src/BookManager.php
core/modules/book/src/BookManager.php
+1
-1
core/modules/config/src/Form/ConfigSync.php
core/modules/config/src/Form/ConfigSync.php
+1
-1
core/modules/config_translation/src/ConfigNamesMapper.php
core/modules/config_translation/src/ConfigNamesMapper.php
+1
-1
core/modules/content_translation/src/Controller/ContentTranslationController.php
...anslation/src/Controller/ContentTranslationController.php
+3
-3
core/modules/datetime/src/Plugin/views/filter/Date.php
core/modules/datetime/src/Plugin/views/filter/Date.php
+1
-1
core/modules/field/src/FieldStorageConfigStorage.php
core/modules/field/src/FieldStorageConfigStorage.php
+1
-1
core/modules/hal/src/Normalizer/ContentEntityNormalizer.php
core/modules/hal/src/Normalizer/ContentEntityNormalizer.php
+1
-1
core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
...igrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
+1
-1
core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php
...te_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php
+2
-2
core/modules/node/src/Controller/NodeController.php
core/modules/node/src/Controller/NodeController.php
+1
-1
core/modules/node/src/NodeStorageInterface.php
core/modules/node/src/NodeStorageInterface.php
+2
-2
core/modules/node/src/Plugin/migrate/source/d6/Node.php
core/modules/node/src/Plugin/migrate/source/d6/Node.php
+1
-1
core/modules/node/src/Plugin/views/argument/Vid.php
core/modules/node/src/Plugin/views/argument/Vid.php
+1
-1
core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php
.../path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php
+1
-1
core/modules/quickedit/src/EditorSelector.php
core/modules/quickedit/src/EditorSelector.php
+2
-2
core/modules/quickedit/src/MetadataGenerator.php
core/modules/quickedit/src/MetadataGenerator.php
+1
-1
core/modules/rest/src/Plugin/rest/resource/EntityResource.php
.../modules/rest/src/Plugin/rest/resource/EntityResource.php
+1
-1
core/modules/search/src/Form/SearchBlockForm.php
core/modules/search/src/Form/SearchBlockForm.php
+1
-1
core/modules/shortcut/src/ShortcutSetStorageInterface.php
core/modules/shortcut/src/ShortcutSetStorageInterface.php
+1
-1
core/modules/system/src/Controller/SystemController.php
core/modules/system/src/Controller/SystemController.php
+1
-1
core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php
...dules/entity_test/src/Controller/EntityTestController.php
+1
-1
core/modules/user/src/Form/UserPermissionsForm.php
core/modules/user/src/Form/UserPermissionsForm.php
+1
-1
core/modules/views/src/DisplayPluginCollection.php
core/modules/views/src/DisplayPluginCollection.php
+1
-1
core/modules/views/src/ViewExecutable.php
core/modules/views/src/ViewExecutable.php
+1
-1
core/modules/views_ui/src/Controller/ViewsUIController.php
core/modules/views_ui/src/Controller/ViewsUIController.php
+1
-1
core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php
core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php
+1
-1
core/phpcs.xml.dist
core/phpcs.xml.dist
+0
-1
core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php
...s/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php
+1
-1
No files found.
core/lib/Drupal/Component/Assertion/Inspector.php
View file @
a7b67e7a
...
...
@@ -108,7 +108,7 @@ public static function assertAllStringable($traversable) {
* Use this instead of is_string() alone unless the argument being an object
* in any way will cause a problem.
*
* @param mixed string
* @param mixed
$
string
* Variable to be examined
*
* @return bool
...
...
core/lib/Drupal/Component/Gettext/PoItem.php
View file @
a7b67e7a
...
...
@@ -169,7 +169,7 @@ function setComment($comment) {
/**
* Create the PoItem from a structured array.
*
* @param array values
* @param array
$
values
*/
public
function
setFromArray
(
array
$values
=
array
())
{
if
(
isset
(
$values
[
'context'
]))
{
...
...
core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php
View file @
a7b67e7a
...
...
@@ -40,13 +40,13 @@ class CssCollectionOptimizer implements AssetCollectionOptimizerInterface {
/**
* Constructs a CssCollectionOptimizer.
*
* @param \Drupal\Core\Asset\AssetCollectionGrouperInterface
* @param \Drupal\Core\Asset\AssetCollectionGrouperInterface
$grouper
* The grouper for CSS assets.
* @param \Drupal\Core\Asset\AssetOptimizerInterface
* @param \Drupal\Core\Asset\AssetOptimizerInterface
$optimizer
* The optimizer for a single CSS asset.
* @param \Drupal\Core\Asset\AssetDumperInterface
* @param \Drupal\Core\Asset\AssetDumperInterface
$dumper
* The dumper for optimized CSS assets.
* @param \Drupal\Core\State\StateInterface
* @param \Drupal\Core\State\StateInterface
$state
* The state key/value store.
*/
public
function
__construct
(
AssetCollectionGrouperInterface
$grouper
,
AssetOptimizerInterface
$optimizer
,
AssetDumperInterface
$dumper
,
StateInterface
$state
)
{
...
...
core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
View file @
a7b67e7a
...
...
@@ -63,7 +63,7 @@ class CssCollectionRenderer implements AssetCollectionRendererInterface {
/**
* Constructs a CssCollectionRenderer.
*
* @param \Drupal\Core\State\StateInterface
* @param \Drupal\Core\State\StateInterface
$state
* The state key/value store.
*/
public
function
__construct
(
StateInterface
$state
)
{
...
...
core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
View file @
a7b67e7a
...
...
@@ -41,13 +41,13 @@ class JsCollectionOptimizer implements AssetCollectionOptimizerInterface {
/**
* Constructs a JsCollectionOptimizer.
*
* @param \Drupal\Core\Asset\AssetCollectionGrouperInterface
* @param \Drupal\Core\Asset\AssetCollectionGrouperInterface
$grouper
* The grouper for JS assets.
* @param \Drupal\Core\Asset\AssetOptimizerInterface
* @param \Drupal\Core\Asset\AssetOptimizerInterface
$optimizer
* The optimizer for a single JS asset.
* @param \Drupal\Core\Asset\AssetDumperInterface
* @param \Drupal\Core\Asset\AssetDumperInterface
$dumper
* The dumper for optimized JS assets.
* @param \Drupal\Core\State\StateInterface
* @param \Drupal\Core\State\StateInterface
$state
* The state key/value store.
*/
public
function
__construct
(
AssetCollectionGrouperInterface
$grouper
,
AssetOptimizerInterface
$optimizer
,
AssetDumperInterface
$dumper
,
StateInterface
$state
)
{
...
...
core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
View file @
a7b67e7a
...
...
@@ -20,7 +20,7 @@ class JsCollectionRenderer implements AssetCollectionRendererInterface {
/**
* Constructs a JsCollectionRenderer.
*
* @param \Drupal\Core\State\StateInterface
* @param \Drupal\Core\State\StateInterface
$state
* The state key/value store.
*/
public
function
__construct
(
StateInterface
$state
)
{
...
...
core/lib/Drupal/Core/Config/ConfigCollectionInfo.php
View file @
a7b67e7a
...
...
@@ -24,7 +24,7 @@ class ConfigCollectionInfo extends Event {
*
* @param string $collection
* Collection name to add.
* @param \Drupal\Core\Config\ConfigFactoryOverrideInterface
* @param \Drupal\Core\Config\ConfigFactoryOverrideInterface
$override_service
* (optional) The configuration factory override service responsible for the
* collection.
*
...
...
core/lib/Drupal/Core/Config/ConfigCrudEvent.php
View file @
a7b67e7a
...
...
@@ -19,7 +19,7 @@ class ConfigCrudEvent extends Event {
/**
* Constructs a configuration event object.
*
* @param \Drupal\Core\Config\Config
* @param \Drupal\Core\Config\Config
$config
* Configuration object.
*/
public
function
__construct
(
Config
$config
)
{
...
...
core/lib/Drupal/Core/Config/ConfigInstallerInterface.php
View file @
a7b67e7a
...
...
@@ -40,7 +40,7 @@ public function installDefaultConfig($type, $name);
* - it's a configuration entity.
* - its dependencies can be met.
*
* @param \Drupal\Core\Config\StorageInterface
* @param \Drupal\Core\Config\StorageInterface
$storage
* (optional) The configuration storage to search for optional
* configuration. If not provided, all enabled extension's optional
* configuration directories will be searched.
...
...
core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php
View file @
a7b67e7a
...
...
@@ -37,7 +37,7 @@ class ConfigModuleOverridesEvent extends Event {
*
* @param array $names
* A list of configuration names.
* @param \Drupal\Core\Language\LanguageInterface
* @param \Drupal\Core\Language\LanguageInterface
$language
* (optional) The language for this configuration.
*/
public
function
__construct
(
array
$names
,
LanguageInterface
$language
=
NULL
)
{
...
...
core/lib/Drupal/Core/Cron.php
View file @
a7b67e7a
...
...
@@ -83,7 +83,7 @@ class Cron implements CronInterface {
* The account switching service.
* @param \Psr\Log\LoggerInterface $logger
* A logger instance.
* @param \Drupal\Core\Queue\QueueWorkerManagerInterface
* @param \Drupal\Core\Queue\QueueWorkerManagerInterface
$queue_manager
* The queue plugin manager.
*/
public
function
__construct
(
ModuleHandlerInterface
$module_handler
,
LockBackendInterface
$lock
,
QueueFactory
$queue_factory
,
StateInterface
$state
,
AccountSwitcherInterface
$account_switcher
,
LoggerInterface
$logger
,
QueueWorkerManagerInterface
$queue_manager
)
{
...
...
core/lib/Drupal/Core/EventSubscriber/EntityRouteAlterSubscriber.php
View file @
a7b67e7a
...
...
@@ -30,7 +30,7 @@ class EntityRouteAlterSubscriber implements EventSubscriberInterface {
/**
* Constructs an EntityRouteAlterSubscriber instance.
*
* @param \Drupal\Core\Entity\EntityResolverManager
* @param \Drupal\Core\Entity\EntityResolverManager
$entity_resolver_manager
* The entity resolver manager.
*/
public
function
__construct
(
EntityResolverManager
$entity_resolver_manager
)
{
...
...
core/lib/Drupal/Core/Field/FieldItemListInterface.php
View file @
a7b67e7a
...
...
@@ -245,7 +245,7 @@ public function defaultValuesFormSubmit(array $element, array &$form, FormStateI
* in order to be a valid runtime value for the field type; e.g., a date field
* could process the defined value of 'NOW' to a valid date.
*
* @param array
* @param array
$default_value
* The unprocessed default value defined for the field, as a numerically
* indexed array of items, each item being an array of property/value pairs.
* @param \Drupal\Core\Entity\FieldableEntityInterface $entity
...
...
core/lib/Drupal/Core/Field/FieldTypePluginManager.php
View file @
a7b67e7a
...
...
@@ -34,7 +34,7 @@ class FieldTypePluginManager extends DefaultPluginManager implements FieldTypePl
* keyed by the corresponding namespace to look for plugin implementations.
* @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend
* Cache backend instance to use.
* @param \Drupal\Core\Extension\ModuleHandlerInterface
* @param \Drupal\Core\Extension\ModuleHandlerInterface
$module_handler
* The module handler.
* @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
* The typed data manager.
...
...
core/lib/Drupal/Core/Form/FormStateInterface.php
View file @
a7b67e7a
...
...
@@ -780,7 +780,7 @@ public function setRequestMethod($method);
/**
* Returns the HTTP form method.
*
* @param string
* @param string
$method_type
* The HTTP form method.
*
* @return bool
...
...
core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php
View file @
a7b67e7a
...
...
@@ -26,7 +26,7 @@ class CurrentLanguageContext implements ContextProviderInterface {
/**
* Constructs a new CurrentLanguageContext.
*
* @param \Drupal\Core\Language\LanguageManagerInterface
* @param \Drupal\Core\Language\LanguageManagerInterface
$language_manager
* The language manager.
*/
public
function
__construct
(
LanguageManagerInterface
$language_manager
)
{
...
...
core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php
View file @
a7b67e7a
...
...
@@ -54,7 +54,7 @@ class PageDisplayVariantSelectionEvent extends Event implements RefinableCacheab
/**
* Constructs the page display variant plugin selection event.
*
* @param string
* @param string
$plugin_id
* The ID of the page display variant plugin to use by default.
* @param \Drupal\Core\Routing\RouteMatchInterface $route_match
* The current route match, for context.
...
...
core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php
View file @
a7b67e7a
...
...
@@ -36,7 +36,7 @@ public function getParentRouteMatch();
/**
* Returns a route match from a given request, if possible.
*
* @param \Symfony\Component\HttpFoundation\Request
* @param \Symfony\Component\HttpFoundation\Request
$request
* The request.
*
* @return \Drupal\Core\Routing\RouteMatchInterface|null
...
...
core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
View file @
a7b67e7a
...
...
@@ -40,7 +40,7 @@ class PermissionsHashGenerator implements PermissionsHashGeneratorInterface {
* The private key service.
* @param \Drupal\Core\Cache\CacheBackendInterface $cache
* The cache backend interface to use for the persistent cache.
* @param \Drupal\Core\Cache\CacheBackendInterface
* @param \Drupal\Core\Cache\CacheBackendInterface
$static
* The cache backend interface to use for the static cache.
*/
public
function
__construct
(
PrivateKey
$private_key
,
CacheBackendInterface
$cache
,
CacheBackendInterface
$static
)
{
...
...
core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php
View file @
a7b67e7a
...
...
@@ -192,7 +192,7 @@ public function getValidationConstraintManager();
* The validation constraint manager is used to instantiate validation
* constraint plugins.
*
* @param \Drupal\Core\Validation\ConstraintManager
* @param \Drupal\Core\Validation\ConstraintManager
$constraintManager
* The constraint manager to set.
*/
public
function
setValidationConstraintManager
(
ConstraintManager
$constraintManager
);
...
...
core/lib/Drupal/Core/Url.php
View file @
a7b67e7a
...
...
@@ -845,7 +845,7 @@ protected function unroutedUrlAssembler() {
/**
* Sets the URL generator.
*
* @param \Drupal\Core\Routing\UrlGeneratorInterface
* @param \Drupal\Core\Routing\UrlGeneratorInterface
$url_generator
* (optional) The URL generator, specify NULL to reset it.
*
* @return $this
...
...
@@ -859,7 +859,7 @@ public function setUrlGenerator(UrlGeneratorInterface $url_generator = NULL) {
/**
* Sets the unrouted URL assembler.
*
* @param \Drupal\Core\Utility\UnroutedUrlAssemblerInterface
* @param \Drupal\Core\Utility\UnroutedUrlAssemblerInterface
$url_assembler
* The unrouted URL assembler.
*
* @return $this
...
...
core/modules/action/src/Plugin/Action/EmailAction.php
View file @
a7b67e7a
...
...
@@ -84,9 +84,9 @@ class EmailAction extends ConfigurableActionBase implements ContainerFactoryPlug
* The entity manager.
* @param \Psr\Log\LoggerInterface $logger
* A logger instance.
* @param \Drupal\Core\Mail\MailManagerInterface
* @param \Drupal\Core\Mail\MailManagerInterface
$mail_manager
* The mail manager.
* @param \Drupal\Core\Language\LanguageManagerInterface
* @param \Drupal\Core\Language\LanguageManagerInterface
$language_manager
* The language manager.
* @param \Egulias\EmailValidator\EmailValidator $email_validator
* The email validator.
...
...
core/modules/book/src/BookManager.php
View file @
a7b67e7a
...
...
@@ -138,7 +138,7 @@ public function getParentDepthLimit(array $book_link) {
/**
* Determine the relative depth of the children of a given book link.
*
* @param array
* @param array
$book_link
* The book link.
*
* @return int
...
...
core/modules/config/src/Form/ConfigSync.php
View file @
a7b67e7a
...
...
@@ -124,7 +124,7 @@ class ConfigSync extends FormBase {
* The module installer.
* @param \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler
* The theme handler.
* @param \Drupal\Core\Render\RendererInterface
* @param \Drupal\Core\Render\RendererInterface
$renderer
* The renderer.
*/
public
function
__construct
(
StorageInterface
$sync_storage
,
StorageInterface
$active_storage
,
StorageInterface
$snapshot_storage
,
LockBackendInterface
$lock
,
EventDispatcherInterface
$event_dispatcher
,
ConfigManagerInterface
$config_manager
,
TypedConfigManagerInterface
$typed_config
,
ModuleHandlerInterface
$module_handler
,
ModuleInstallerInterface
$module_installer
,
ThemeHandlerInterface
$theme_handler
,
RendererInterface
$renderer
)
{
...
...
core/modules/config_translation/src/ConfigNamesMapper.php
View file @
a7b67e7a
...
...
@@ -109,7 +109,7 @@ class ConfigNamesMapper extends PluginBase implements ConfigMapperInterface, Con
* The locale configuration manager.
* @param \Drupal\config_translation\ConfigMapperManagerInterface $config_mapper_manager
* The mapper plugin discovery service.
* @param \Drupal\Core\Routing\RouteProviderInterface
* @param \Drupal\Core\Routing\RouteProviderInterface
$route_provider
* The route provider.
* @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation
* The string translation manager.
...
...
core/modules/content_translation/src/Controller/ContentTranslationController.php
View file @
a7b67e7a
...
...
@@ -26,7 +26,7 @@ class ContentTranslationController extends ControllerBase {
/**
* Initializes a content translation controller.
*
* @param \Drupal\content_translation\ContentTranslationManagerInterface
* @param \Drupal\content_translation\ContentTranslationManagerInterface
$manager
* A content translation manager instance.
*/
public
function
__construct
(
ContentTranslationManagerInterface
$manager
)
{
...
...
@@ -319,7 +319,7 @@ public function overview(RouteMatchInterface $route_match, $entity_type_id = NUL
* @param \Drupal\Core\Language\LanguageInterface $target
* The language of the translated values. Defaults to the current content
* language.
* @param \Drupal\Core\Routing\RouteMatchInterface
* @param \Drupal\Core\Routing\RouteMatchInterface
$route_match
* The route match object from which to extract the entity type.
* @param string $entity_type_id
* (optional) The entity type ID.
...
...
@@ -354,7 +354,7 @@ public function add(LanguageInterface $source, LanguageInterface $target, RouteM
* @param \Drupal\Core\Language\LanguageInterface $language
* The language of the translated values. Defaults to the current content
* language.
* @param \Drupal\Core\Routing\RouteMatchInterface
* @param \Drupal\Core\Routing\RouteMatchInterface
$route_match
* The route match object from which to extract the entity type.
* @param string $entity_type_id
* (optional) The entity type ID.
...
...
core/modules/datetime/src/Plugin/views/filter/Date.php
View file @
a7b67e7a
...
...
@@ -58,7 +58,7 @@ class Date extends NumericDate implements ContainerFactoryPluginInterface {
* The plugin implementation definition.
* @param \Drupal\Core\Datetime\DateFormatterInterface $date_formatter
* The date formatter service.
* @param \Symfony\Component\HttpFoundation\RequestStack
* @param \Symfony\Component\HttpFoundation\RequestStack
$request_stack
* The request stack used to determine the current time.
*/
public
function
__construct
(
array
$configuration
,
$plugin_id
,
$plugin_definition
,
DateFormatterInterface
$date_formatter
,
RequestStack
$request_stack
)
{
...
...
core/modules/field/src/FieldStorageConfigStorage.php
View file @
a7b67e7a
...
...
@@ -64,7 +64,7 @@ class FieldStorageConfigStorage extends ConfigEntityStorage {
* The module handler.
* @param \Drupal\Core\State\StateInterface $state
* The state key value store.
* @param \Drupal\Component\Plugin\PluginManagerInterface\FieldTypePluginManagerInterface
* @param \Drupal\Component\Plugin\PluginManagerInterface\FieldTypePluginManagerInterface
$field_type_manager
* The field type plugin manager.
*/
public
function
__construct
(
EntityTypeInterface
$entity_type
,
ConfigFactoryInterface
$config_factory
,
UuidInterface
$uuid_service
,
LanguageManagerInterface
$language_manager
,
EntityManagerInterface
$entity_manager
,
ModuleHandlerInterface
$module_handler
,
StateInterface
$state
,
FieldTypePluginManagerInterface
$field_type_manager
)
{
...
...
core/modules/hal/src/Normalizer/ContentEntityNormalizer.php
View file @
a7b67e7a
...
...
@@ -190,7 +190,7 @@ public function denormalize($data, $class, $format = NULL, array $context = arra
/**
* Constructs the entity URI.
*
* @param \Drupal\Core\Entity\EntityInterface
* @param \Drupal\Core\Entity\EntityInterface
$entity
* The entity.
* @return string
* The entity URI.
...
...
core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
View file @
a7b67e7a
...
...
@@ -83,7 +83,7 @@ public function query() {
/**
* Tweaks DrupalSqlBase to set a new database connection for tests.
*
* @param \Drupal\Core\Database\Connection
* @param \Drupal\Core\Database\Connection
$database
* The new connection to use.
*
* @see \Drupal\Tests\migrate\Unit\MigrateSourceSqlTestCase
...
...
core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php
View file @
a7b67e7a
...
...
@@ -170,7 +170,7 @@ public function query() {
/**
* Tweaks Drupal6SqlBase to set a new database connection for tests.
*
* @param \Drupal\Core\Database\Connection
* @param \Drupal\Core\Database\Connection
$database
* The new connection to use.
*
* @see \Drupal\Tests\migrate\Unit\MigrateSqlTestCase
...
...
@@ -182,7 +182,7 @@ public function setDatabase(Connection $database) {
/**
* Tweaks Drupal6SqlBase to set a new module handler for tests.
*
* @param \Drupal\Core\Extension\ModuleHandlerInterface
* @param \Drupal\Core\Extension\ModuleHandlerInterface
$module_handler
* The new module handler to use.
*
* @see \Drupal\Tests\migrate\Unit\MigrateSqlTestCase
...
...
core/modules/node/src/Controller/NodeController.php
View file @
a7b67e7a
...
...
@@ -285,7 +285,7 @@ public function addPageTitle(NodeTypeInterface $node_type) {
/**
* Gets a list of node revision IDs for a specific node.
*
* @param \Drupal\node\NodeInterface
* @param \Drupal\node\NodeInterface
$node
* The node entity.
* @param \Drupal\node\NodeStorageInterface $node_storage
* The node storage handler.
...
...
core/modules/node/src/NodeStorageInterface.php
View file @
a7b67e7a
...
...
@@ -14,7 +14,7 @@ interface NodeStorageInterface extends ContentEntityStorageInterface {
/**
* Gets a list of node revision IDs for a specific node.
*
* @param \Drupal\node\NodeInterface
* @param \Drupal\node\NodeInterface
$node
* The node entity.
*
* @return int[]
...
...
@@ -36,7 +36,7 @@ public function userRevisionIds(AccountInterface $account);
/**
* Counts the number of revisions in the default language.
*
* @param \Drupal\node\NodeInterface
* @param \Drupal\node\NodeInterface
$node
* The node entity.
*
* @return int
...
...
core/modules/node/src/Plugin/migrate/source/d6/Node.php
View file @
a7b67e7a
...
...
@@ -261,7 +261,7 @@ public function getIds() {
/**
* Adapt our query for translations.
*
* @param \Drupal\Core\Database\Query\SelectInterface
* @param \Drupal\Core\Database\Query\SelectInterface
$query
* The generated query.
*/
protected
function
handleTranslations
(
SelectInterface
$query
)
{
...
...
core/modules/node/src/Plugin/views/argument/Vid.php
View file @
a7b67e7a
...
...
@@ -39,7 +39,7 @@ class Vid extends NumericArgument {
* The plugin implementation definition.
* @param \Drupal\Core\Database\Connection $database
* Database Service Object.
* @param \Drupal\node\NodeStorageInterface
* @param \Drupal\node\NodeStorageInterface
$node_storage
* The node storage.
*/
public
function
__construct
(
array
$configuration
,
$plugin_id
,
$plugin_definition
,
Connection
$database
,
NodeStorageInterface
$node_storage
)
{
...
...
core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php
View file @
a7b67e7a
...
...
@@ -29,7 +29,7 @@ protected function setUp() {
/**
* Assert a path.
*
* @param string pid
* @param string
$
pid
* The path id.
* @param array $conditions
* The path conditions.
...
...
core/modules/quickedit/src/EditorSelector.php
View file @
a7b67e7a
...
...
@@ -36,9 +36,9 @@ class EditorSelector implements EditorSelectorInterface {
/**
* Constructs a new EditorSelector.
*
* @param \Drupal\Component\Plugin\PluginManagerInterface
* @param \Drupal\Component\Plugin\PluginManagerInterface
$editor_manager
* The manager for editor plugins.
* @param \Drupal\Core\Field\FormatterPluginManager
* @param \Drupal\Core\Field\FormatterPluginManager
$formatter_manager
* The manager for formatter plugins.
*/
public
function
__construct
(
PluginManagerInterface
$editor_manager
,
FormatterPluginManager
$formatter_manager
)
{
...
...
core/modules/quickedit/src/MetadataGenerator.php
View file @
a7b67e7a
...
...
@@ -41,7 +41,7 @@ class MetadataGenerator implements MetadataGeneratorInterface {
* An object that checks if a user has access to edit a given field.
* @param \Drupal\quickedit\EditorSelectorInterface $editor_selector
* An object that determines which editor to attach to a given field.
* @param \Drupal\Component\Plugin\PluginManagerInterface
* @param \Drupal\Component\Plugin\PluginManagerInterface
$editor_manager
* The manager for editor plugins.
*/
public
function
__construct
(
EditEntityFieldAccessCheckInterface
$access_checker
,
EditorSelectorInterface
$editor_selector
,
PluginManagerInterface
$editor_manager
)
{
...
...
core/modules/rest/src/Plugin/rest/resource/EntityResource.php
View file @
a7b67e7a
...
...
@@ -68,7 +68,7 @@ class EntityResource extends ResourceBase implements DependentPluginInterface {
* The available serialization formats.
* @param \Psr\Log\LoggerInterface $logger
* A logger instance.
* @param \Drupal\Core\Config\ConfigFactoryInterface
* @param \Drupal\Core\Config\ConfigFactoryInterface
$config_factory
* The config factory.
*/
public
function
__construct
(
array
$configuration
,
$plugin_id
,
$plugin_definition
,
EntityTypeManagerInterface
$entity_type_manager
,
$serializer_formats
,
LoggerInterface
$logger
,
ConfigFactoryInterface
$config_factory
)
{
...
...
core/modules/search/src/Form/SearchBlockForm.php
View file @
a7b67e7a
...
...
@@ -42,7 +42,7 @@ class SearchBlockForm extends FormBase {
* The search page repository.
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
* The config factory.
* @param \Drupal\Core\Render\RendererInterface
* @param \Drupal\Core\Render\RendererInterface
$renderer
* The renderer.
*/
public
function
__construct
(
SearchPageRepositoryInterface
$search_page_repository
,
ConfigFactoryInterface
$config_factory
,
RendererInterface
$renderer
)
{
...
...
core/modules/shortcut/src/ShortcutSetStorageInterface.php
View file @
a7b67e7a
...
...
@@ -46,7 +46,7 @@ public function deleteAssignedShortcutSets(ShortcutSetInterface $entity);
/**
* Get the name of the set assigned to this user.
*
* @param \Drupal\user\Entity\User
* @param \Drupal\user\Entity\User
$account
* The user account.
*
* @return string
...
...
core/modules/system/src/Controller/SystemController.php
View file @
a7b67e7a
...
...
@@ -74,7 +74,7 @@ class SystemController extends ControllerBase {
* The form builder.
* @param \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler
* The theme handler.
* @param \Drupal\Core\Menu\MenuLinkTreeInterface
* @param \Drupal\Core\Menu\MenuLinkTreeInterface
$menu_link_tree
* The menu link tree service.
*/
public
function
__construct
(
SystemManager
$systemManager
,
QueryFactory
$queryFactory
,
ThemeAccessCheck
$theme_access
,
FormBuilderInterface
$form_builder
,
ThemeHandlerInterface
$theme_handler
,
MenuLinkTreeInterface
$menu_link_tree
)
{
...
...
core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php
View file @
a7b67e7a
...
...
@@ -22,7 +22,7 @@ class EntityTestController extends ControllerBase {
/**
* Constructs a new EntityTestController.
*
* @param \Drupal\Core\Entity\Query\QueryFactory
* @param \Drupal\Core\Entity\Query\QueryFactory
$entity_query_factory
* The entity query factory.
*/
public
function
__construct
(
QueryFactory
$entity_query_factory
)
{
...
...
core/modules/user/src/Form/UserPermissionsForm.php
View file @
a7b67e7a
...
...
@@ -42,7 +42,7 @@ class UserPermissionsForm extends FormBase {
* The permission handler.
* @param \Drupal\user\RoleStorageInterface $role_storage
* The role storage.
* @param \Drupal\Core\Extension\ModuleHandlerInterface
* @param \Drupal\Core\Extension\ModuleHandlerInterface
$module_handler
* The module handler.
*/
public
function
__construct
(
PermissionHandlerInterface
$permission_handler
,
RoleStorageInterface
$role_storage
,
ModuleHandlerInterface
$module_handler
)
{
...
...
core/modules/views/src/DisplayPluginCollection.php
View file @
a7b67e7a
...
...
@@ -26,7 +26,7 @@ class DisplayPluginCollection extends DefaultLazyPluginCollection {
/**
* Constructs a DisplayPluginCollection object.
*
* @param \Drupal\views\ViewExecutable
* @param \Drupal\views\ViewExecutable
$view
* The view which has this displays attached.
* @param \Drupal\Component\Plugin\PluginManagerInterface $manager
* The manager to be used for instantiating plugins.
...
...
core/modules/views/src/ViewExecutable.php
View file @
a7b67e7a
...
...
@@ -1655,7 +1655,7 @@ public function preview($display_id = NULL, $args = array()) {
/**
* Runs attachments and lets the display do what it needs to before running.
*
* @param array
@
args
* @param array
$
args
* An array of arguments from the URL that can be used by the view.
*/
public
function
preExecute
(
$args
=
array
())
{
...
...
core/modules/views_ui/src/Controller/ViewsUIController.php
View file @
a7b67e7a
...
...
@@ -31,7 +31,7 @@ class ViewsUIController extends ControllerBase {
/**
* Constructs a new \Drupal\views_ui\Controller\ViewsUIController object.
*
* @param \Drupal\views\ViewsData views_data
* @param \Drupal\views\ViewsData
$
views_data
* The Views data cache object.
*/
public
function
__construct
(
ViewsData
$views_data
)
{
...
...
core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php
View file @
a7b67e7a
...
...
@@ -331,7 +331,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
*
* For example array(0 => 'foo') would be array(1 => 'foo').
*
* @param array
* @param array
$array
* The array to increment keys on.
*
* @return array
...
...
core/phpcs.xml.dist
View file @
a7b67e7a
...
...
@@ -51,7 +51,6 @@
<exclude
name=
"Drupal.Commenting.FunctionComment.Missing"
/>
<exclude
name=
"Drupal.Commenting.FunctionComment.MissingFile"
/>
<exclude
name=
"Drupal.Commenting.FunctionComment.MissingParamComment"
/>
<exclude
name=
"Drupal.Commenting.FunctionComment.MissingParamName"
/>
<exclude
name=
"Drupal.Commenting.FunctionComment.MissingParamType"
/>
<exclude
name=
"Drupal.Commenting.FunctionComment.MissingReturnComment"
/>
<exclude
name=
"Drupal.Commenting.FunctionComment.MissingReturnType"
/>
...
...
core/tests/Drupal/KernelTests/Core/Asset/ResolvedLibraryDefinitionsFilesMatchTest.php
View file @
a7b67e7a
...
...
@@ -140,7 +140,7 @@ public function testCoreLibraryCompleteness() {
/**
* Checks that all the library files exist.
*
* @param array[]
* @param array[]
$library_definitions
* An array of library definitions, keyed by extension, then by library, and
* so on.
*/
...
...
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