Skip to content

Commit

Permalink
Merge pull request #4 from mminer237/patch-1
Browse files Browse the repository at this point in the history
Replace deprecated string interpolation
  • Loading branch information
OliverO2 authored Aug 13, 2024
2 parents e9bf4b3 + 5ffd03e commit eedfcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twig/ResponsiveImagesExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ public function css(): string
$displayPixelDensity = floatToString($this->displayPixelDensity);

$css = "(-webkit-min-device-pixel-ratio: $displayPixelDensity) and $minWidthCondition,";
$css .= " (min-resolution: ${displayResolutionDPI}dpi) and $minWidthCondition";
$css .= " (min-resolution: {$displayResolutionDPI}dpi) and $minWidthCondition";

if (\Grav\Plugin\ResponsiveImagesExtension::$debug)
$css .= $this->originsComment();
Expand Down

0 comments on commit eedfcb7

Please sign in to comment.