[FEATURE] Allow overriding of image manipulation cropVariants
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Imaging / ImageManipulation / Ratio.php
index d13b41b..d8301cd 100644 (file)
@@ -58,7 +58,7 @@ class Ratio
                 $areas[] = new self(
                     $id,
                     $ratioConfig['title'],
-                    $ratioConfig['value']
+                    (float)$ratioConfig['value']
                 );
             }
         } catch (\Throwable $throwable) {