Code Duplication    Length = 3-3 lines in 4 locations

classes/fields/currency.php 4 locations

@@ 175-177 (lines=3) @@
172
173
		$currency = 'usd';
174
175
		if ( isset( static::$currencies[ pods_v( static::$type . '_format_sign', $options, - 1 ) ] ) ) {
176
			$currency = pods_v( static::$type . '_format_sign', $options );
177
		}
178
179
		$currency_sign  = static::$currencies[ $currency ]['sign'];
180
		$currency_label = static::$currencies[ $currency ]['label'];
@@ 216-218 (lines=3) @@
213
214
		$currency = 'usd';
215
216
		if ( isset( static::$currencies[ pods_v( static::$type . '_format_sign', $options, - 1 ) ] ) ) {
217
			$currency = pods_v( static::$type . '_format_sign', $options );
218
		}
219
220
		$currency_sign = static::$currencies[ $currency ]['sign'];
221
@@ 237-239 (lines=3) @@
234
235
		$currency = 'usd';
236
237
		if ( isset( static::$currencies[ pods_v( static::$type . '_format_sign', $options, - 1 ) ] ) ) {
238
			$currency = pods_v( static::$type . '_format_sign', $options );
239
		}
240
241
		$currency_sign   = static::$currencies[ $currency ]['sign'];
242
		$currency_entity = static::$currencies[ $currency ]['entity'];
@@ 283-285 (lines=3) @@
280
281
		$currency = 'usd';
282
283
		if ( isset( static::$currencies[ pods_v( static::$type . '_format_sign', $options, - 1 ) ] ) ) {
284
			$currency = pods_v( static::$type . '_format_sign', $options );
285
		}
286
287
		$currency_sign   = static::$currencies[ $currency ]['sign'];
288
		$currency_entity = static::$currencies[ $currency ]['entity'];