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

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