Drupal 10 type hinting

Created on 18 October 2023, 12 months ago
Updated 12 December 2023, 10 months ago

Problem/Motivation

Using latest 8.x-1.x build in Drupal 10 gives:

Fatal error: Declaration of Drupal\vardumper\VarDumper\Dumper\HtmlDrupalDumper::style($style, $value, $attr = []) must be compatible with Symfony\Component\VarDumper\Dumper\HtmlDumper::style(string $style, string $value, array $attr = []): string in /var/www/html/w5d10.localhost/web/modules/contrib/vardumper/src/VarDumper/Dumper/HtmlDrupalDumper.php on line 393

Return type hinting is missing in HtmlDrupalDumper::style().

🐛 Bug report
Status

Needs review

Version

1.6

Component

Code

Created by

🇨🇦Canada bwaindwain

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

Comments & Activities

Production build 0.71.5 2024