Completed
Push — update/react-create-class ( 7f3c72...120f37 )
by
unknown
257:16 queued 246:39
created
modules/search/class.jetpack-search-helpers.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
 		return sprintf( '%s-%d', self::FILTER_WIDGET_BASE, $number );
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param string $widget_id
55
+	 */
53 56
 	static function is_active_widget( $widget_id ) {
54 57
 		return (bool) is_active_widget( false, $widget_id, self::FILTER_WIDGET_BASE );
55 58
 	}
Please login to merge, or discard this patch.
modules/search/class.jetpack-search-widget-filters.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -578,6 +578,7 @@
 block discarded – undo
578 578
 	 * Responsible for rendering the search box within our widget on the frontend.
579 579
 	 *
580 580
 	 * @param array $instance
581
+	 * @param string $order
581 582
 	 */
582 583
 	function render_widget_search_form( $instance, $orderby, $order ) {
583 584
 		$form = get_search_form( false );
Please login to merge, or discard this patch.
_inc/lib/functions.wp-notify.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
 	 * should be notified, overriding the site setting.
202 202
 	 *
203 203
 	 * @param int $comment_id Comment ID.
204
-	 * @return true Always returns true.
204
+	 * @return boolean Always returns true.
205 205
 	 */
206 206
 	function wp_notify_moderator( $comment_id ) {
207 207
 		global $wpdb;
Please login to merge, or discard this patch.
_inc/lib/jetpack-wpes-query-builder/jetpack-wpes-query-parser.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -147,6 +147,10 @@
 block discarded – undo
147 147
 	 * Take a list of field prefixes and expand them for multi-lingual
148 148
 	 * with the provided boostings.
149 149
 	 */
150
+
151
+	/**
152
+	 * @param string[] $additional_fields
153
+	 */
150 154
 	public function merge_ml_fields( $fields2boosts, $additional_fields ) {
151 155
 		$flds = array();
152 156
 		foreach( $fields2boosts as $f => $b ) {
Please login to merge, or discard this patch.
_inc/lib/class.jetpack-search-performance-logger.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@
 block discarded – undo
58 58
 		return $query->is_main_query() && $query->is_search();
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param double $duration
63
+	 * @param boolean $was_jetpack_search
64
+	 */
61 65
 	private function record_query_time( $duration, $was_jetpack_search ) {
62 66
 		$this->stats[] = array( $was_jetpack_search, intval( $duration * 1000 ) );
63 67
 	}
Please login to merge, or discard this patch.