Queue::createItem() has an invalid return type

Created on 10 October 2023, about 1 year ago
Updated 23 October 2023, about 1 year ago

Problem/Motivation

\Drupal\rabbitmq\Queue\Queue::createItem($data): bool expects bool, but string|false is actually returned. It doesn't seem to fail because the file doesn't have a strict_types declaration (declare(strict_types=1)).

API changes

\Drupal\rabbitmq\Queue\Queue::createItem($data) return type changed to bool|string

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇫🇮Finland tuutti

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024