getExcludedRolesDisplay() type error

Created on 30 April 2025, 5 days ago

Problem/Motivation

When getExcludedRolesDisplay() is called it expects a boolean to be returned but drupal actually returns an int from the shipping method configuration.

This violates the strict typing introduced in 1.1.0

Steps to reproduce

Proposed resolution

Cast $this->configuration['excluded_roles_display'] to a boolean before returning it.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rhovland Oregon

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024