Issue #3390903 by sakthi_dev, dpi, smustgrave: \Drupal\Core\Queue\QueueInterface::createItem is typehinted as possibly returning bool, but never returns true

merge-requests/5033/head
Dave Long 2023-10-17 11:55:24 +02:00
parent 4cfa1b5ffb
commit 79001a92cb
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
1 changed files with 1 additions and 1 deletions

View File

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