Project

General

Profile

Actions

Bug #100076

closed

Inconsistent value of \TYPO3\CMS\Core\Imaging\GraphicalFunctions::getImageScale

Added by Rémy DANIEL about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Image Cropping
Target version:
-
Start date:
2023-03-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Depending of the inputs, getImageScale returns either int or float for the scaled width/heigth.

This can triggers strict type warnings in calling code, if width/heigth are expected to be integers.

Actions

Also available in: Atom PDF