Completed
Pull Request — feature/settings-overhaul (#6696)
by
unknown
18:19 queued 08:51
created
modules/masterbar/masterbar.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
 		wp_enqueue_script( 'a8c_wpcom_masterbar_overrides', $this->wpcom_static_url( '/wp-content/mu-plugins/admin-bar/masterbar-overrides/masterbar.js' ) );
81 81
 	}
82 82
 
83
+	/**
84
+	 * @param string $file
85
+	 */
83 86
 	function wpcom_static_url( $file ) {
84 87
 		$i   = hexdec( substr( md5( $file ), - 1 ) ) % 2;
85 88
 		$url = 'https://s' . $i . '.wp.com' . $file;
@@ -255,6 +258,9 @@  discard block
 block discarded – undo
255 258
 		return $primary_anchor . $secondary_anchor;
256 259
 	}
257 260
 
261
+	/**
262
+	 * @param string $class
263
+	 */
258 264
 	public function create_menu_item_anchor( $class, $url, $label, $id ) {
259 265
 		return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>';
260 266
 	}
Please login to merge, or discard this patch.
_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	 *
153 153
 	 * @since 4.3.0
154 154
 	 *
155
-	 * @return array Array of Jetpack modules.
155
+	 * @return string Array of Jetpack modules.
156 156
 	 */
157 157
 	public function get_modules() {
158 158
 		require_once( JETPACK__PLUGIN_DIR . 'class.jetpack-admin.php' );
@@ -1032,7 +1032,7 @@  discard block
 block discarded – undo
1032 1032
 	 *
1033 1033
 	 * @since 4.8.0
1034 1034
 	 *
1035
-	 * @param string $apiKey Optional API key to check.
1035
+	 * @param string $api_key Optional API key to check.
1036 1036
 	 *
1037 1037
 	 * @return bool True if key is valid, false otherwise.
1038 1038
 	 */
Please login to merge, or discard this patch.