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
Issue fork rabbitmq-3392889
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
cmlaraInteresting, I had thought return types were strict always apparently they are coerced as well.
I've added an additional commit with a test change as well to prevent regression as this was a tested portion of code.
Comment #4
cmlaraComment #6
cmlaraMerged to Dev.