Code Duplication    Length = 8-8 lines in 2 locations

classes/helpers/FrmAppHelper.php 2 locations

@@ 416-423 (lines=8) @@
413
		return $value;
414
	}
415
416
	public static function get_post_param( $param, $default = '', $sanitize = '' ) {
417
		return self::get_simple_request(
418
			array(
419
				'type'     => 'post',
420
				'param'    => $param,
421
				'default'  => $default,
422
				'sanitize' => $sanitize,
423
			)
424
		);
425
	}
426
@@ 436-443 (lines=8) @@
433
	 *
434
	 * @return string|array
435
	 */
436
	public static function simple_get( $param, $sanitize = 'sanitize_text_field', $default = '' ) {
437
		return self::get_simple_request(
438
			array(
439
				'type'     => 'get',
440
				'param'    => $param,
441
				'default'  => $default,
442
				'sanitize' => $sanitize,
443
			)
444
		);
445
	}
446