Commit bac3a5de authored by alexpott's avatar alexpott

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
......@@ -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.
*
......
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