Queue::createItem() has an invalid return type

Created on 10 October 2023, 9 months ago
Updated 23 October 2023, 8 months 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.69.0 2024