Passed
Push — master ( 5d297b...80a819 )
by Warwick
02:29 queued 10s
created
classes/class-lsx-wetu-importer.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -811,7 +811,7 @@  discard block
 block discarded – undo
811 811
 	 * @param boolean $name
812 812
 	 * @param boolean $taxonomy
813 813
 	 * @param boolean $parent
814
-	 * @return void
814
+	 * @return boolean
815 815
 	 */
816 816
 	public function set_term( $id = false, $name = false, $taxonomy = false, $parent = false ) {
817 817
 		$term = term_exists( $name, $taxonomy );
@@ -1113,6 +1113,10 @@  discard block
 block discarded – undo
1113 1113
 		return false;
1114 1114
 	}
1115 1115
 
1116
+	/**
1117
+	 * @param string $url
1118
+	 * @param string $thumb
1119
+	 */
1116 1120
 	public function attach_external_image2( $url = null, $post_id = null, $thumb = null, $filename = null, $post_data = array() ) {
1117 1121
 		if ( ! $url || ! $post_id ) { return new WP_Error( 'missing', 'Need a valid URL and post ID...' ); }
1118 1122
 		$att_id = false;
@@ -1216,6 +1220,7 @@  discard block
 block discarded – undo
1216 1220
 
1217 1221
 	/**
1218 1222
 	 * Does a multine search
1223
+	 * @param string $haystack
1219 1224
 	 */
1220 1225
 	public function multineedle_stripos( $haystack, $needles, $offset = 0 ) {
1221 1226
 		$found = false;
Please login to merge, or discard this patch.