Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 551-553 (lines=3) @@
548
		}
549
550
		// Set the team member if it is there.
551
		if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
552
			$this->set_team_member( $id, $team_members );
553
		}
554
555
		// Set the safari brand.
556
		if ( false !== $safari_brands && '' !== $safari_brands ) {

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

@@ 598-600 (lines=3) @@
595
			$this->find_attachments( $id );
596
597
			// Set the team member if it is there.
598
			if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
599
				$this->set_team_member( $id, $team_members );
600
			}
601
602
			$this->set_map_data( $data, $id, 9 );
603