Issue Bug Closed

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

Rémy DANIEL 03/03/23, 18:17 updated 07/09/24, 12:46

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.

Reviews 2