[BUGFIX] Cast return value of method formMaxWidth to int
AbstractFormElement->formMaxWidth declares its return type as of type int. But the ceil function returns float. The return value is now cast to int to prevent unexpected values. Resolves: #97108 Releases: main, 11.5 Change-Id: I2426a0a1f2bf78ef89ad0eec89158498136b0885 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73830 Reviewed-by:Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- Build/phpstan/phpstan-baseline.neon 0 additions, 5 deletionsBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php 2 additions, 2 deletions...sext/backend/Classes/Form/Element/AbstractFormElement.php
- typo3/sysext/backend/Classes/Form/Element/InputColorPickerElement.php 1 addition, 1 deletion.../backend/Classes/Form/Element/InputColorPickerElement.php
- typo3/sysext/backend/Classes/Form/Element/InputDateTimeElement.php 1 addition, 1 deletion...ext/backend/Classes/Form/Element/InputDateTimeElement.php
- typo3/sysext/backend/Classes/Form/Element/InputSlugElement.php 1 addition, 1 deletion.../sysext/backend/Classes/Form/Element/InputSlugElement.php
- typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 1 addition, 1 deletion.../sysext/backend/Classes/Form/Element/InputTextElement.php
- typo3/sysext/backend/Classes/Form/Element/MfaInfoElement.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Form/Element/MfaInfoElement.php
Please register or sign in to comment