Completed
Push — add/masterbar-module ( c3ba65...0660ea )
by
unknown
10:10
created
modules/google-analytics/wp-google-analytics.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -80,6 +80,8 @@
 block discarded – undo
80 80
 
81 81
 	/**
82 82
 	 * Maybe output or return, depending on the context
83
+	 * @param string $val
84
+	 * @param boolean $maybe
83 85
 	 */
84 86
 	private function _output_or_return( $val, $maybe ) {
85 87
 		if ( $maybe ) {
Please login to merge, or discard this patch.
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.