Skip to content

Commit 6038a46

Browse files
Sarthak JaiswalSarthak Jaiswal
authored andcommitted
Fixed comment spacing
1 parent b501973 commit 6038a46

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugins/auto-sizes/includes/auto-sizes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function auto_sizes_update_image_attributes( $attr ): array {
4949
*/
5050
function auto_sizes_update_content_img_tag( $html ): string {
5151
if ( ! is_string( $html ) ) {
52-
$html = '';// @codeCoverageIgnore
52+
$html = ''; // @codeCoverageIgnore
5353
}
5454

5555
$processor = new WP_HTML_Tag_Processor( $html );

plugins/auto-sizes/includes/improve-calculate-sizes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
function auto_sizes_prime_attachment_caches( $content ): string {
1818
if ( ! is_string( $content ) ) {
19-
return '';// @codeCoverageIgnore
19+
return ''; // @codeCoverageIgnore
2020
}
2121

2222
$processor = new WP_HTML_Tag_Processor( $content );
@@ -26,7 +26,7 @@ function auto_sizes_prime_attachment_caches( $content ): string {
2626
$class = $processor->get_attribute( 'class' );
2727

2828
if ( ! is_string( $class ) ) {
29-
continue;// @codeCoverageIgnore
29+
continue; // @codeCoverageIgnore
3030
}
3131

3232
if ( preg_match( '/(?:^|\s)wp-image-([1-9][0-9]*)(?:\s|$)/', $class, $class_id ) === 1 ) {
@@ -63,7 +63,7 @@ function auto_sizes_prime_attachment_caches( $content ): string {
6363
*/
6464
function auto_sizes_filter_image_tag( $content, array $parsed_block, WP_Block $block ): string {
6565
if ( ! is_string( $content ) ) {
66-
return '';// @codeCoverageIgnore
66+
return ''; // @codeCoverageIgnore
6767
}
6868

6969
$processor = new WP_HTML_Tag_Processor( $content );

0 commit comments

Comments
 (0)