Fix class property's type

Created on 30 July 2025, 7 days ago

Problem/Motivation

The property MenuBasedBreadcrumbBuilder::menuTrail is phpDocumented as a string;
it is however handled and expected to be an array of strings (menu ids).
This causes warnings when using the getter and/or setter methods for that proeprty.

Steps to reproduce

PHPStan will complain

Proposed resolution

Change the phpDocumented type for the property as well as its getter and setter methods

Remaining tasks

Prepare PR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇨🇭Switzerland stefanos.petrakis@gmail.com Biel, Switzerland

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

Comments & Activities

Production build 0.71.5 2024