Code Duplication    Length = 10-10 lines in 3 locations

classes/helpers/FrmTipHelper.php 3 locations

@@ 102-111 (lines=10) @@
99
		return self::get_random_tip( $tips );
100
	}
101
102
	public static function get_styling_tip() {
103
		$tips = array(
104
			array(
105
				'link' => 'https://formidablepro.com/visual-styling-tip',
106
				'tip'  => __( 'Want your sidebar or footer form to look different from the rest?', 'formidable' ),
107
				'call' => __( 'Use multiple stylesheets.', 'formidable' ),
108
			),
109
		);
110
		return $tips[0];
111
	}
112
113
	public static function get_entries_tip() {
114
		$tips = array(
@@ 113-122 (lines=10) @@
110
		return $tips[0];
111
	}
112
113
	public static function get_entries_tip() {
114
		$tips = array(
115
			array(
116
				'link' => 'https://formidablepro.com/manage-entries-tip',
117
				'tip'  => __( 'Are you looking for a specific entry? Do you want to delete or edit your submissions?', 'formidable' ),
118
				'call' => __( 'Add entry management.', 'formidable' ),
119
			),
120
		);
121
		return $tips[0];
122
	}
123
124
	public static function get_import_tip() {
125
		$tips = array(
@@ 124-133 (lines=10) @@
121
		return $tips[0];
122
	}
123
124
	public static function get_import_tip() {
125
		$tips = array(
126
			array(
127
				'link' => 'https://formidablepro.com/import-entries-tip/',
128
				'tip'  => __( 'Want to import entries into your forms?', 'formidable' ),
129
				'call' => __( 'Upgrade to Pro.', 'formidable' ),
130
			),
131
		);
132
		return $tips[0];
133
	}
134
135
	public static function get_random_tip( $tips ) {
136
		$random = rand( 0, count( $tips ) - 1 );