From 79001a92cb6604a59e04a07f8cc9e9767a63ed05 Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Tue, 17 Oct 2023 11:55:24 +0200
Subject: [PATCH] Issue #3390903 by sakthi_dev, dpi, smustgrave:
 \Drupal\Core\Queue\QueueInterface::createItem is typehinted as possibly
 returning bool, but never returns true

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

diff --git a/core/lib/Drupal/Core/Queue/QueueInterface.php b/core/lib/Drupal/Core/Queue/QueueInterface.php
index 8b9ff654c068..5305a26be02a 100644
--- a/core/lib/Drupal/Core/Queue/QueueInterface.php
+++ b/core/lib/Drupal/Core/Queue/QueueInterface.php
@@ -18,7 +18,7 @@ interface QueueInterface {
    * @param $data
    *   Arbitrary data to be associated with the new task in the queue.
    *
-   * @return bool|int|string
+   * @return false|int|string
    *   A unique ID if the item was successfully created and was (best effort)
    *   added to the queue, otherwise FALSE. We don't guarantee the item was
    *   committed to disk etc, but as far as we know, the item is now in the
-- 
GitLab