From 2466bc032edbba2e45344bcddbfa4f65c260c7dd Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 2 Jun 2015 22:20:34 +0100
Subject: [PATCH] Issue #2494679 by Xano: Fix LanguageNegotiatorInterface type
 hints in docblocks

---
 .../language/src/LanguageNegotiatorInterface.php       | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/modules/language/src/LanguageNegotiatorInterface.php b/core/modules/language/src/LanguageNegotiatorInterface.php
index 86e4d7afcbaf..f99dae79a14a 100644
--- a/core/modules/language/src/LanguageNegotiatorInterface.php
+++ b/core/modules/language/src/LanguageNegotiatorInterface.php
@@ -142,7 +142,7 @@ public function initializeType($type);
    *   (optional) The language type. If no type is specified all the method
    *   definitions are returned.
    *
-   * @return array
+   * @return array[]
    *   An array of language negotiation method definitions keyed by method id.
    */
   public function getNegotiationMethods($type = NULL);
@@ -163,7 +163,7 @@ public function getNegotiationMethodInstance($method_id);
    * @param $type
    *   The language type.
    *
-   * @return
+   * @return string
    *   The identifier of the primary language negotiation method for the given
    *   language type, or the default method if none exists.
    */
@@ -178,7 +178,7 @@ public function getPrimaryNegotiationMethod($type);
    *   (optional) The language type. If none is passed, all the configurable
    *   language types will be inspected.
    *
-   * @return
+   * @return bool
    *   TRUE if the method is enabled for at least one of the given language
    *   types, or FALSE otherwise.
    */
@@ -189,7 +189,7 @@ public function isNegotiationMethodEnabled($method_id, $type = NULL);
    *
    * @param string $type
    *   The language type.
-   * @param array $enabled_methods
+   * @param int[] $enabled_methods
    *   An array of language negotiation method weights keyed by method ID.
    */
   function saveConfiguration($type, $enabled_methods);
@@ -206,7 +206,7 @@ function purgeConfiguration();
    * configurable state. Stores the default settings if the language type is
    * not configurable.
    *
-   * @param array $types
+   * @param string[] $types
    *   An array of configurable language types.
    */
   function updateConfiguration(array $types);
-- 
GitLab