( $output_exist ) ? filesize( $output_path ) : $size_before; $this->size_before += $size_before ?: 0; $this->size_after += $size_after ?: 0; } /** * @param string $error_message . * @param mixed[] $plugin_settings . * @param bool $is_fatal_error . * * @return void */ protected function save_conversion_error( string $error_message, array $plugin_settings, bool $is_fatal_error = false ) { if ( $is_fatal_error ) { $this->is_fatal_error = true; } $this->errors[] = $error_message; } }