From cf22b9f72d7d18b6436fba8c968169c4c81b0dcb Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Mon, 26 Feb 2024 11:44:22 +0100 Subject: [PATCH] fix deprecated string --- src/Rokka.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rokka.php b/src/Rokka.php index 6426c56..e64e1d4 100644 --- a/src/Rokka.php +++ b/src/Rokka.php @@ -161,8 +161,8 @@ public static function getStackUrl(string $operation, File $file, $width, $heigh if ($extension == 'svg') { $format = $extension; } - if (isset($stacks["${operation}-${width}x${height}"])) { - $stack = $stacks["${operation}-${width}x${height}"]; + if (isset($stacks["{$operation}-{$width}x{$height}"])) { + $stack = $stacks["{$operation}-{$width}x{$height}"]; } else { // check if we have a stack configuration for this variable with w setting, then we can use the shorter URLs. $config = self::getStackConfiguration($operation, $operation);