Completed
Push — master ( 6bb1d3...0f6da5 )
by Jacques
69:58 queued 11:15
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-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-lsx-api-manager.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 	 *
199 199
 	 * @since 1.0.0
200 200
 	 *
201
-	 * @return    object A single instance of this class.
201
+	 * @return    false|null A single instance of this class.
202 202
 	 */
203 203
 	public function dashboard_tabs($tab='general') {
204 204
 		if('api' !== $tab){ return false;}
@@ -395,7 +395,6 @@  discard block
 block discarded – undo
395 395
 
396 396
 	/**
397 397
 	 * Formats the error code into a readable format.
398
-	 * @param  array $args
399 398
 	 * @return array
400 399
 	 */
401 400
 	public function format_error_code($code=false){
Please login to merge, or discard this patch.
classes/class-wetu-importer.php 1 patch
Doc Comments   +11 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 ) ) {
@@ -1074,6 +1077,10 @@  discard block
 block discarded – undo
1074 1077
 		return 	false;
1075 1078
 	}
1076 1079
 
1080
+	/**
1081
+	 * @param string $url
1082
+	 * @param string $thumb
1083
+	 */
1077 1084
 	public function attach_external_image2( $url = null, $post_id = null, $thumb = null, $filename = null, $post_data = array() ) {
1078 1085
 		if ( ! $url || ! $post_id ) { return new WP_Error( 'missing', 'Need a valid URL and post ID...' ); }
1079 1086
 
@@ -1184,6 +1191,7 @@  discard block
 block discarded – undo
1184 1191
 
1185 1192
 	/**
1186 1193
 	 * Does a multine search
1194
+	 * @param string $haystack
1187 1195
 	 */
1188 1196
 	public function multineedle_stripos( $haystack, $needles, $offset = 0 ) {
1189 1197
 		$found = false;
@@ -1267,6 +1275,9 @@  discard block
 block discarded – undo
1267 1275
 		}
1268 1276
 	}
1269 1277
 
1278
+	/**
1279
+	 * @param string $array
1280
+	 */
1270 1281
 	public function shuffle_assoc( &$array ) {
1271 1282
 		$new = array();
1272 1283
 		$keys = array_keys( $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
@@ -685,6 +685,7 @@  discard block
 block discarded – undo
685 685
 
686 686
 	/**
687 687
 	 * Set the team memberon each item.
688
+	 * @param boolean $team_members
688 689
 	 */
689 690
 	public function set_team_member( $id, $team_members ) {
690 691
 		delete_post_meta( $id, 'team_to_' . $this->tab_slug );
@@ -696,6 +697,7 @@  discard block
 block discarded – undo
696 697
 
697 698
 	/**
698 699
 	 * Saves the room data
700
+	 * @param string $meta_key
699 701
 	 */
700 702
 	public function set_travel_info( $data, $id, $meta_key, $importable = array( 'none' ) ) {
701 703
 		if ( ! empty( $data[0]['travel_information'] ) && isset( $data[0]['travel_information'][ $meta_key ] ) ) {
Please login to merge, or discard this patch.