Code Duplication    Length = 10-10 lines in 3 locations

classes/helpers/FrmTipsHelper.php 3 locations

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