@@ -193,7 +193,7 @@ public function compress() {
193193
194194 $ compressor = $ this ->settings ->get_compressor ();
195195 $ convert_to = $ this ->convert_to ();
196-
196+
197197 foreach ( $ unprocessed_sizes as $ size_name => $ size ) {
198198 if ( ! $ size ->is_duplicate () ) {
199199 $ size ->add_tiny_meta_start ();
@@ -209,7 +209,9 @@ public function compress() {
209209 );
210210
211211 // ensure that all conversion are in the same format as the first one
212- $ convert_to = isset ($ response ['convert ' ]) ? array ($ response ['convert ' ]['type ' ]) : $ convert_to ;
212+ $ convert_to = isset ( $ response ['convert ' ] ) ?
213+ array ( $ response ['convert ' ]['type ' ] ) :
214+ $ convert_to ;
213215
214216 $ size ->add_tiny_meta ( $ response );
215217 $ success ++;
@@ -251,7 +253,7 @@ public function compress_retina( $size_name, $path ) {
251253 }
252254
253255 $ size = $ this ->sizes [ $ size_name ];
254-
256+
255257 $ compressor = $ this ->settings ->get_compressor ();
256258 $ convert_to = $ this ->convert_to ();
257259
@@ -486,7 +488,7 @@ public function can_be_converted() {
486488 * If nothing is converted yet, we use the settings conversion settings.
487489 *
488490 * @since 3.6.4
489- *
491+ *
490492 * @return array{string} mimetypes to which the image should be converted to
491493 */
492494 private function convert_to () {
@@ -504,11 +506,11 @@ private function convert_to() {
504506 $ original_img_size = $ this ->sizes [ self ::ORIGINAL ];
505507 if ( $ original_img_size ->converted () ) {
506508 // original has been convert so use that mimetype to convert to
507- return array ($ original_img_size ->meta ['convert ' ]['type ' ]);
509+ return array ( $ original_img_size ->meta ['convert ' ]['type ' ] );
508510 }
509511
510512 return $ convert_settings ['convert_to ' ];
511-
513+
512514 }
513515
514516 /**
0 commit comments