Code Duplication    Length = 3-3 lines in 2 locations

includes/admin/reports/class-donor-reports-table.php 1 location

@@ 194-196 (lines=3) @@
191
					);
192
				break;
193
194
			case 'amount_spent' :
195
				$value = give_currency_filter( give_format_amount( $item[ $column_name ], array( 'sanitize' => false ) ) );
196
				break;
197
198
			default:
199
				$value = isset( $item[ $column_name ] ) ? $item[ $column_name ] : null;

includes/admin/donors/class-donor-table.php 1 location

@@ 126-128 (lines=3) @@
123
				);
124
				break;
125
126
			case 'amount_spent' :
127
				$value = give_currency_filter( give_format_amount( $donor[ $column_name ], array( 'sanitize' => false ) ) );
128
				break;
129
130
			case 'date_created' :
131
				$value = date_i18n( give_date_format(), strtotime( $donor['date_created'] ) );