From d6f1a5a4ae383f83a6f8956397eb2b380e21f5e9 Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Sat, 25 Nov 2023 11:35:34 +0000
Subject: [PATCH] Issue #3391355 by sebish, dpi, smustgrave:
 \Drupal\Core\Config\StorageInterface::read is typehinted as possibly
 returning bool, but never returns true

---
 core/lib/Drupal/Core/Config/StorageInterface.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lib/Drupal/Core/Config/StorageInterface.php b/core/lib/Drupal/Core/Config/StorageInterface.php
index fe6857a10626..b2e6d4abb089 100644
--- a/core/lib/Drupal/Core/Config/StorageInterface.php
+++ b/core/lib/Drupal/Core/Config/StorageInterface.php
@@ -32,7 +32,7 @@ public function exists($name);
    * @param string $name
    *   The name of a configuration object to load.
    *
-   * @return array|bool
+   * @return array|false
    *   The configuration data stored for the configuration object name. If no
    *   configuration data exists for the given name, FALSE is returned.
    */
-- 
GitLab