Code Duplication    Length = 3-3 lines in 2 locations

classes/class-lsx-wetu-importer-accommodation.php 1 location

@@ 565-567 (lines=3) @@
562
		}
563
564
		// Set the team member if it is there.
565
		if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
566
			$this->set_team_member( $id, $team_members );
567
		}
568
569
		// Set the safari brand.
570
		if ( false !== $safari_brands && '' !== $safari_brands ) {

classes/class-lsx-wetu-importer-destination.php 1 location

@@ 607-609 (lines=3) @@
604
			$this->find_attachments( $id );
605
606
			// Set the team member if it is there.
607
			if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
608
				$this->set_team_member( $id, $team_members );
609
			}
610
611
			if ( class_exists( 'LSX_TO_Maps' ) ) {
612
				$this->set_map_data( $data, $id, 9 );