Code Duplication    Length = 3-4 lines in 2 locations

vendor/ayecode/wp-super-duper/wp-super-duper.php 2 locations

@@ 954-956 (lines=3) @@
951
			}
952
953
			// if preview show a placeholder if empty
954
			if ( $this->is_preview() && $output == '' ) {
955
				$output = $this->preview_placeholder_text( "[{" . $this->base_id . "}]" );
956
			}
957
958
			return $output;
959
		}
@@ 1635-1638 (lines=4) @@
1632
					echo ! empty( $this->options['widget_ops']['classname'] ) ? "</span>" : '';
1633
				}
1634
				echo $after_widget;
1635
			} elseif ( $this->is_preview() && $output == '' ) {// if preview show a placeholder if empty
1636
				$output = $this->preview_placeholder_text( "{{" . $this->base_id . "}}" );
1637
				echo $output;
1638
			}
1639
		}
1640
1641
		/**