Skip to content

Commit 776792a

Browse files
chore: phpcs
1 parent aef2b20 commit 776792a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

inc/url_replacer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,16 +227,16 @@ private function normalize_image( $url, $original_url, $args, $is_uploaded = fal
227227
}
228228

229229
$is_retina_enabled = $this->settings->get( 'retina_images' ) !== 'disabled';
230-
if ( ! $is_retina_enabled) {
230+
if ( ! $is_retina_enabled ) {
231231
$max_dimension = max( $args['width'], $args['height'] );
232232
$should_apply_dpr = false;
233-
233+
234234
if ( $max_dimension > 0 && $max_dimension < 150 ) {
235235
$should_apply_dpr = true;
236236
}
237-
237+
238238
$should_apply_dpr = apply_filters( 'optml_should_apply_dpr', $should_apply_dpr, $args, $url );
239-
239+
240240
if ( $should_apply_dpr && ! isset( $args['dpr'] ) ) {
241241
$args['dpr'] = 2;
242242
}

0 commit comments

Comments
 (0)