BrokenPostRequestException incorrectly typehints size as string

Created on 5 June 2023, over 1 year ago
Updated 22 July 2023, over 1 year ago

Problem/Motivation

Follow up from 📌 Deprecate format_size() and use Drupal\Core\StringTranslation\ByteSizeMarkup instead Fixed where we noticed \Drupal\Core\Form\Exception\BrokenPostRequestException typehints the $size property as being as string, where it is actually a float|int and is being used that way in core.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
Form 

Last updated 2 days ago

Created by

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

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

Comments & Activities

Production build 0.71.5 2024