Coding Standards: Fix alignment in WP_Image_Editor_Imagick::thumbnail_image.

Follow-up to [59589].

See #36477, #62279.


git-svn-id: https://develop.svn.wordpress.org/trunk@60047 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2025-03-18 23:23:23 +00:00
parent 7047a91c0e
commit 1aa6da693a

View File

@ -504,7 +504,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
$max_colors = pow( 2, $indexed_pixel_depth );
if ( is_callable( array( $this->image, 'getImageColors' ) ) ) {
$current_colors = $this->image->getImageColors();
$max_colors = min( $max_colors, $current_colors );
$max_colors = min( $max_colors, $current_colors );
}
$this->image->quantizeImage( $max_colors, $this->image->getColorspace(), 0, false, false );