Completed
Push — sync/dbtlr/r159298-wpcom-15003... ( bc0eb2...c27aa0 )
by
unknown
12:20
created
3rd-party/domain-mapping.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -93,14 +93,24 @@
 block discarded – undo
93 93
 	 * So that we can test.
94 94
 	 */
95 95
 
96
+	/**
97
+	 * @param string $class
98
+	 * @param string $method
99
+	 */
96 100
 	public function method_exists( $class, $method ) {
97 101
 		return method_exists( $class, $method );
98 102
 	}
99 103
 
104
+	/**
105
+	 * @param string $class
106
+	 */
100 107
 	public function class_exists( $class ) {
101 108
 		return class_exists( $class );
102 109
 	}
103 110
 
111
+	/**
112
+	 * @param string $function
113
+	 */
104 114
 	public function function_exists( $function ) {
105 115
 		return function_exists( $function );
106 116
 	}
Please login to merge, or discard this patch.
sync/class.jetpack-sync-module-posts.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@
 block discarded – undo
105 105
 		return isset( $importers[ $importer ] ) ? $importers[ $importer ][0] : 'Unknown Importer';
106 106
 	}
107 107
 
108
+	/**
109
+	 * @param string $class_name
110
+	 */
108 111
 	private function is_importer( $backtrace, $class_name ) {
109 112
 		foreach ( $backtrace as $trace ) {
110 113
 			if ( strpos( $trace, $class_name ) !== false ) {
Please login to merge, or discard this patch.
sync/class.jetpack-sync-functions.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -148,6 +148,7 @@  discard block
 block discarded – undo
148 148
 	 * Helper function that is used when getting home or siteurl values. Decides
149 149
 	 * whether to get the raw or filtered value.
150 150
 	 *
151
+	 * @param string $url_type
151 152
 	 * @return string
152 153
 	 */
153 154
 	public static function get_raw_or_filtered_url( $url_type ) {
@@ -197,6 +198,9 @@  discard block
 block discarded – undo
197 198
 		return self::get_protocol_normalized_url( 'main_network_site_url', network_site_url() );
198 199
 	}
199 200
 
201
+	/**
202
+	 * @param string $callable
203
+	 */
200 204
 	public static function get_protocol_normalized_url( $callable, $new_value ) {
201 205
 		$option_key = self::HTTPS_CHECK_OPTION_PREFIX . $callable;
202 206
 
@@ -236,6 +240,9 @@  discard block
 block discarded – undo
236 240
 		return $value;
237 241
 	}
238 242
 
243
+	/**
244
+	 * @param string $url_function
245
+	 */
239 246
 	public static function normalize_www_in_url( $option, $url_function ) {
240 247
 		$url        = wp_parse_url( call_user_func( $url_function ) );
241 248
 		$option_url = wp_parse_url( get_option( $option ) );
Please login to merge, or discard this patch.