From 1aa6da693ad739b78752a55d154cd48cb757b90b Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Tue, 18 Mar 2025 23:23:23 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-image-editor-imagick.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php index edce8d2b7d..66085ac503 100644 --- a/src/wp-includes/class-wp-image-editor-imagick.php +++ b/src/wp-includes/class-wp-image-editor-imagick.php @@ -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 );