Skip to content

Commit 198f2cd

Browse files
Fix PHPStan error
1 parent fad4e87 commit 198f2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/auto-sizes/hooks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function auto_sizes_prime_attachment_caches( $content ): string {
170170
}
171171

172172
// Reduce the array to unique attachment IDs.
173-
$attachment_ids = array_unique( array_filter( $images ) );
173+
$attachment_ids = array_unique( $images );
174174

175175
if ( count( $attachment_ids ) > 1 ) {
176176
/*

0 commit comments

Comments
 (0)