Completed
Push — master ( a84d89...a9842c )
by Fernando
02:35
created
classes/class-wetu-importer-accommodation.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -639,6 +639,7 @@  discard block
 block discarded – undo
639 639
 
640 640
 	/**
641 641
 	 * Set the team memberon each item.
642
+	 * @param boolean $team_members
642 643
 	 */
643 644
 	public function set_team_member( $id, $team_members ) {
644 645
 		delete_post_meta( $id, 'team_to_' . $this->tab_slug );
@@ -650,6 +651,7 @@  discard block
 block discarded – undo
650 651
 
651 652
 	/**
652 653
 	 * Set the safari brand
654
+	 * @param boolean $safari_brands
653 655
 	 */
654 656
 	public function set_safari_brands( $id, $safari_brands ) {
655 657
 		foreach ( $safari_brands as $safari_brand ) {
Please login to merge, or discard this patch.
classes/class-wetu-importer-banner-integration.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -232,6 +232,9 @@
 block discarded – undo
232 232
 		}
233 233
 	}
234 234
 
235
+	/**
236
+	 * @param string $url
237
+	 */
235 238
 	public function attach_external_image2( $url = null, $post_data = array() ) {
236 239
 		if ( ! $url ) { return new WP_Error( 'missing', 'Need a valid URL' ); }
237 240
 
Please login to merge, or discard this patch.
classes/class-wetu-importer-connect-accommodation.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -214,6 +214,7 @@
 block discarded – undo
214 214
 
215 215
 	/**
216 216
 	 * format the array
217
+	 * @param string $key
217 218
 	 */
218 219
 	public function format_array( $array, $key ) {
219 220
 		$new_array = array();
Please login to merge, or discard this patch.
classes/class-wetu-importer-destination.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -656,6 +656,7 @@  discard block
 block discarded – undo
656 656
 
657 657
 	/**
658 658
 	 * Set the team memberon each item.
659
+	 * @param boolean $team_members
659 660
 	 */
660 661
 	public function set_team_member( $id, $team_members ) {
661 662
 		delete_post_meta( $id, 'team_to_' . $this->tab_slug );
@@ -667,6 +668,7 @@  discard block
 block discarded – undo
667 668
 
668 669
 	/**
669 670
 	 * Saves the room data
671
+	 * @param string $meta_key
670 672
 	 */
671 673
 	public function set_travel_info( $data, $id, $meta_key ) {
672 674
 		if ( ! empty( $data[0]['travel_information'] ) && isset( $data[0]['travel_information'][ $meta_key ] ) ) {
Please login to merge, or discard this patch.
classes/class-wetu-importer-tours.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -649,6 +649,7 @@  discard block
 block discarded – undo
649 649
 
650 650
 	/**
651 651
 	 * A loop which runs through each leg on the tour.
652
+	 * @param boolean $importable_content
652 653
 	 */
653 654
 	public function process_itineraries( $data, $id, $importable_content ) {
654 655
 		$day_counter = 1;
@@ -949,6 +950,7 @@  discard block
 block discarded – undo
949 950
 	 *
950 951
 	 * @param $day array
951 952
 	 * @param $id string
953
+	 * @param integer $leg_counter
952 954
 	 * @return boolean / string
953 955
 	 */
954 956
 	public function set_destination( $day, $id, $leg_counter ) {
Please login to merge, or discard this patch.
classes/class-wetu-importer.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -769,6 +769,9 @@  discard block
 block discarded – undo
769 769
 		return $result;
770 770
 	}
771 771
 
772
+	/**
773
+	 * @return boolean
774
+	 */
772 775
 	public function set_term( $id = false, $name = false, $taxonomy = false, $parent = false ) {
773 776
 		// @codingStandardsIgnoreLine
774 777
 		if ( ! $term = term_exists( $name, $taxonomy ) ) {
@@ -1072,6 +1075,10 @@  discard block
 block discarded – undo
1072 1075
 		return 	false;
1073 1076
 	}
1074 1077
 
1078
+	/**
1079
+	 * @param string $url
1080
+	 * @param string $thumb
1081
+	 */
1075 1082
 	public function attach_external_image2( $url = null, $post_id = null, $thumb = null, $filename = null, $post_data = array() ) {
1076 1083
 		if ( ! $url || ! $post_id ) { return new WP_Error( 'missing', 'Need a valid URL and post ID...' ); }
1077 1084
 
@@ -1182,6 +1189,7 @@  discard block
 block discarded – undo
1182 1189
 
1183 1190
 	/**
1184 1191
 	 * Does a multine search
1192
+	 * @param string $haystack
1185 1193
 	 */
1186 1194
 	public function multineedle_stripos( $haystack, $needles, $offset = 0 ) {
1187 1195
 		$found = false;
Please login to merge, or discard this patch.