Code Duplication    Length = 8-8 lines in 2 locations

classes/helpers/FrmAppHelper.php 2 locations

@@ 330-337 (lines=8) @@
327
        return $value;
328
    }
329
330
	public static function get_post_param( $param, $default = '', $sanitize = '' ) {
331
		return self::get_simple_request(
332
			array(
333
				'type'     => 'post',
334
				'param'    => $param,
335
				'default'  => $default,
336
				'sanitize' => $sanitize,
337
			)
338
		);
339
	}
340
@@ 349-356 (lines=8) @@
346
	 * @param string $default
347
	 * @return string|array
348
	 */
349
	public static function simple_get( $param, $sanitize = 'sanitize_text_field', $default = '' ) {
350
		return self::get_simple_request(
351
			array(
352
				'type'     => 'get',
353
				'param'    => $param,
354
				'default'  => $default,
355
				'sanitize' => $sanitize,
356
			)
357
		);
358
	}
359