Skip to content

Commit

Permalink
fix deprecated string
Browse files Browse the repository at this point in the history
  • Loading branch information
chregu committed Feb 26, 2024
1 parent 1994dc5 commit cf22b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rokka.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cf22b9f

Please sign in to comment.