Skip to content
Snippets Groups Projects
Commit bac3a5de authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2191911 by Xano: Improve @param and @return variable types for...

Issue #2191911 by Xano: Improve @param and @return variable types for \Drupal\Core\Config\ConfigFactoryInterface.
parent 91542ece
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -277,6 +277,7 @@ public static function config($name) {
* or off.
*
* @return \Drupal\Core\Config\ConfigFactoryInterface
* The configuration factory service.
*/
public static function configFactory() {
return static::$container->get('config.factory');
......
......@@ -58,7 +58,7 @@ public function get($name);
* @param array $names
* List of names of configuration objects.
*
* @return array
* @return \Drupal\Core\Config\Config[]
* List of successfully loaded configuration objects, keyed by name.
*/
public function loadMultiple(array $names);
......@@ -66,7 +66,7 @@ public function loadMultiple(array $names);
/**
* Resets and re-initializes configuration objects. Internal use only.
*
* @param string $name
* @param string|null $name
* (optional) The name of the configuration object to reset. If omitted, all
* configuration objects are reset.
*
......@@ -119,7 +119,7 @@ public function clearStaticCache();
/**
* Sets the language to be used in configuration overrides.
*
* @param \Drupal\Core\Language\Language $language
* @param \Drupal\Core\Language\Language|null $language
* The language object to be set on the config factory. Used to override
* configuration by language.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment