- Issue created by @alberto56
- 🇳🇿New Zealand quietone
In Drupal core changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies → . Thanks
According to the documentation of ./core/modules/breakpoint/src/BreakpointInterface.php getLabel(), it claims to return a string.
However in my tests it can return an object of type TranslatableMarkup.
This causes PHPStan to erroneously say that my code is not valid when it expects TranslatableMarkup, not a string, from this function.
State in the documentation of ./core/modules/breakpoint/src/BreakpointInterface.php getLabel() that it does not necessarily return a string but can return TranslatableMarkup.
Active
11.2 🔥
breakpoint.module
In Drupal core changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies → . Thanks