From 287783076cdef9d9516182229c736f7cb070eb4c Mon Sep 17 00:00:00 2001 From: Luis Ball Date: Mon, 8 Mar 2021 10:06:28 -0500 Subject: [PATCH] chore: update comment --- src/Imgix/UrlBuilder.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Imgix/UrlBuilder.php b/src/Imgix/UrlBuilder.php index f29039c..0272806 100644 --- a/src/Imgix/UrlBuilder.php +++ b/src/Imgix/UrlBuilder.php @@ -162,9 +162,8 @@ private function isDpr($params) { $hasHeight = array_key_exists('h', $params) ? $params['h'] : NULL; $hasAspectRatio = array_key_exists('ar', $params) ? $params['ar'] : NULL; - // If `params` have a width param or _both_ height and aspect - // ratio parameters then the srcset to be constructed with - // these params _is dpr based + // If `params` have a width or height parameter then the + // srcset to be constructed with these params _is dpr based return $hasWidth || $hasHeight; }