Code Duplication    Length = 8-8 lines in 2 locations

classes/helpers/FrmAppHelper.php 2 locations

@@ 310-317 (lines=8) @@
307
        return $value;
308
    }
309
310
	public static function get_post_param( $param, $default = '', $sanitize = '' ) {
311
		return self::get_simple_request(
312
			array(
313
				'type'     => 'post',
314
				'param'    => $param,
315
				'default'  => $default,
316
				'sanitize' => $sanitize,
317
			)
318
		);
319
	}
320
@@ 329-336 (lines=8) @@
326
	 * @param string $default
327
	 * @return string|array
328
	 */
329
	public static function simple_get( $param, $sanitize = 'sanitize_text_field', $default = '' ) {
330
		return self::get_simple_request(
331
			array(
332
				'type'     => 'get',
333
				'param'    => $param,
334
				'default'  => $default,
335
				'sanitize' => $sanitize,
336
			)
337
		);
338
	}
339