Issue #2494679 by Xano: Fix LanguageNegotiatorInterface type hints in docblocks

8.0.x
Alex Pott 2015-06-02 22:20:34 +01:00
parent a79508ac5d
commit 2466bc032e
1 changed files with 5 additions and 5 deletions

View File

@ -142,7 +142,7 @@ interface LanguageNegotiatorInterface {
* (optional) The language type. If no type is specified all the method * (optional) The language type. If no type is specified all the method
* definitions are returned. * definitions are returned.
* *
* @return array * @return array[]
* An array of language negotiation method definitions keyed by method id. * An array of language negotiation method definitions keyed by method id.
*/ */
public function getNegotiationMethods($type = NULL); public function getNegotiationMethods($type = NULL);
@ -163,7 +163,7 @@ interface LanguageNegotiatorInterface {
* @param $type * @param $type
* The language type. * The language type.
* *
* @return * @return string
* The identifier of the primary language negotiation method for the given * The identifier of the primary language negotiation method for the given
* language type, or the default method if none exists. * language type, or the default method if none exists.
*/ */
@ -178,7 +178,7 @@ interface LanguageNegotiatorInterface {
* (optional) The language type. If none is passed, all the configurable * (optional) The language type. If none is passed, all the configurable
* language types will be inspected. * language types will be inspected.
* *
* @return * @return bool
* TRUE if the method is enabled for at least one of the given language * TRUE if the method is enabled for at least one of the given language
* types, or FALSE otherwise. * types, or FALSE otherwise.
*/ */
@ -189,7 +189,7 @@ interface LanguageNegotiatorInterface {
* *
* @param string $type * @param string $type
* The language type. * The language type.
* @param array $enabled_methods * @param int[] $enabled_methods
* An array of language negotiation method weights keyed by method ID. * An array of language negotiation method weights keyed by method ID.
*/ */
function saveConfiguration($type, $enabled_methods); function saveConfiguration($type, $enabled_methods);
@ -206,7 +206,7 @@ interface LanguageNegotiatorInterface {
* configurable state. Stores the default settings if the language type is * configurable state. Stores the default settings if the language type is
* not configurable. * not configurable.
* *
* @param array $types * @param string[] $types
* An array of configurable language types. * An array of configurable language types.
*/ */
function updateConfiguration(array $types); function updateConfiguration(array $types);