Skip to content

Commit

Permalink
refactor: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
adevade committed Jan 31, 2023
1 parent a0e1ffc commit f74ec9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/UrlBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ private function isDpr($params)

$hasWidth = array_key_exists('w', $params) ? $params['w'] : null;
$hasHeight = array_key_exists('h', $params) ? $params['h'] : null;
$hasAspectRatio = array_key_exists('ar', $params) ? $params['ar'] : null;

// If `params` have a width or height parameter then the
// srcset to be constructed with these params _is dpr based
Expand Down

0 comments on commit f74ec9f

Please sign in to comment.