| @@ -2,9 +2,8 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Stats email class |
| 4 | 4 | * |
| 5 | 5 | * @since 6.7 |
| 6 | - * | |
| 7 | 6 | * @package Formidable |
| 8 | 7 | */ |
| 9 | 8 | |
| 10 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -125,10 +124,8 @@ | ||
| 125 | 124 | /** |
| 126 | 125 | * Adds entries comparison data. |
| 127 | 126 | * |
| 128 | 127 | * @param array $stats Statistics section data. |
| 129 | - * | |
| 130 | - * @return void | |
| 131 | 128 | */ |
| 132 | 129 | protected function add_entries_comparison_data( &$stats ) { |
| 133 | 130 | if ( ! $this->has_comparison ) { |
| 134 | 131 | return; |
| @@ -141,10 +138,8 @@ | ||
| 141 | 138 | /** |
| 142 | 139 | * Adds payments count and total data. |
| 143 | 140 | * |
| 144 | 141 | * @param array $stats Statistics section data. |
| 145 | - * | |
| 146 | - * @return void | |
| 147 | 142 | */ |
| 148 | 143 | protected function add_payments_data( &$stats ) { |
| 149 | 144 | $payment_data = FrmEmailSummaryHelper::get_payments_data( $this->from_date, $this->to_date ); |
| 150 | 145 | $stats['payments_count'] = array( |
| @@ -203,9 +198,8 @@ | ||
| 203 | 198 | * Gets formatted price. |
| 204 | 199 | * |
| 205 | 200 | * @param float $amount Amount. |
| 206 | 201 | * @param array|string $currency Currency string value or array. |
| 207 | - * | |
| 208 | 202 | * @return string |
| 209 | 203 | */ |
| 210 | 204 | protected function get_formatted_price( $amount, $currency ) { |
| 211 | 205 | if ( ! is_array( $currency ) ) { |
| @@ -219,9 +213,8 @@ | ||
| 219 | 213 | * Gets comparison diff between 2 values. |
| 220 | 214 | * |
| 221 | 215 | * @param float $current Current value. |
| 222 | 216 | * @param float $prev Previous value. |
| 223 | - * | |
| 224 | 217 | * @return float |
| 225 | 218 | */ |
| 226 | 219 | public function get_compare_diff( $current, $prev ) { |
| 227 | 220 | if ( ! $current && ! $prev ) { |