The TranslatableString class does not exist

Created on 23 May 2024, 9 months ago
Updated 6 June 2024, 9 months ago

Problem/Motivation

Hello. Some properties and methods have type definitions, such as \Drupal\Core\StringTranslation\TranslatableString, but no such class currently exists and PHPStan reports an error.

Steps to reproduce

Proposed resolution

Replace \Drupal\Core\StringTranslation\TranslatableString with \Drupal\Core\StringTranslation\TranslatableMarkup

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Documentation

Created by

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