Issue #3390903 by sakthi_dev, dpi, smustgrave: \Drupal\Core\Queue\QueueInterface::createItem is typehinted as possibly returning bool, but never returns true
parent
4cfa1b5ffb
commit
79001a92cb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue