Verified Commit 08c868a7 authored by Dave Long's avatar Dave Long
Browse files

Issue #3390903 by sakthi_dev, dpi, smustgrave:...

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

(cherry picked from commit 79001a92)
parent c354872a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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