Completed
Pull Request — master (#8792)
by Shantanu
08:53
created
sync/class.jetpack-sync-functions.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -178,6 +178,7 @@  discard block
 block discarded – undo
178 178
 	 * Helper function that is used when getting home or siteurl values. Decides
179 179
 	 * whether to get the raw or filtered value.
180 180
 	 *
181
+	 * @param string $url_type
181 182
 	 * @return string
182 183
 	 */
183 184
 	public static function get_raw_or_filtered_url( $url_type ) {
@@ -229,6 +230,9 @@  discard block
 block discarded – undo
229 230
 		return self::get_protocol_normalized_url( 'main_network_site_url', network_site_url() );
230 231
 	}
231 232
 
233
+	/**
234
+	 * @param string $callable
235
+	 */
232 236
 	public static function get_protocol_normalized_url( $callable, $new_value ) {
233 237
 		$option_key = self::HTTPS_CHECK_OPTION_PREFIX . $callable;
234 238
 
@@ -273,6 +277,9 @@  discard block
 block discarded – undo
273 277
 		return $value;
274 278
 	}
275 279
 
280
+	/**
281
+	 * @param string $url_function
282
+	 */
276 283
 	public static function normalize_www_in_url( $option, $url_function ) {
277 284
 		$url        = wp_wp_parse_url( call_user_func( $url_function ) );
278 285
 		$option_url = wp_wp_parse_url( get_option( $option ) );
Please login to merge, or discard this patch.