Skip to content

Commit 7d87cd0

Browse files
Format
1 parent 8b58b39 commit 7d87cd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/class-tiny-plugin.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,12 +637,12 @@ private function render_compress_details( $tiny_image ) {
637637
}
638638
}
639639

640-
public function get_estimated_bulk_cost($available_unoptimized_sizes) {
640+
public function get_estimated_bulk_cost( $available_unoptimized_sizes ) {
641641
$compressions = $available_unoptimized_sizes;
642642
if ( $this->settings->get_conversion_enabled() ) {
643643
$compressions *= 2;
644644
}
645-
645+
646646
return Tiny_Compress::estimate_cost(
647647
$compressions,
648648
$this->settings->get_compression_count()
@@ -651,8 +651,8 @@ public function get_estimated_bulk_cost($available_unoptimized_sizes) {
651651

652652
public function render_bulk_optimization_page() {
653653
$stats = Tiny_Bulk_Optimization::get_optimization_statistics( $this->settings );
654-
655-
$estimated_costs = $this->get_estimated_bulk_cost($stats['available-unoptimized-sizes']);
654+
655+
$estimated_costs = $this->get_estimated_bulk_cost( $stats['available-unoptimized-sizes'] );
656656
$admin_colors = self::retrieve_admin_colors();
657657

658658
/* This makes sure that up to date information is retrieved from the API. */

0 commit comments

Comments
 (0)