Completed
Push — add/instagram ( fe7b3c...76ef11 )
by
unknown
97:29 queued 90:10
created
modules/widgets/instagram/instagram.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,6 +120,9 @@  discard block
 block discarded – undo
120 120
 		return $data;
121 121
 	}
122 122
 
123
+	/**
124
+	 * @param string $path
125
+	 */
123 126
 	private function wpcom_json_api_request_as_blog( $path, $version = 1, $args = array(), $body = null, $base_api_path = 'rest' ) {
124 127
 		if ( ! class_exists( 'Jetpack_Client' ) ) {
125 128
 			return new WP_Error( 'missing_jetpack', 'The `Jetpack_Client` class is missing' );
@@ -377,7 +380,6 @@  discard block
 block discarded – undo
377 380
 	/**
378 381
 	 * Get an sha256 hash of a seialized array of parameters
379 382
 	 *
380
-	 * @param string $serialized_parameters A serialized string of a parameter array.
381 383
 	 * @return string An sha256 hash
382 384
 	 */
383 385
 	function get_paramater_hash( $parameters ) {
@@ -387,8 +389,7 @@  discard block
 block discarded – undo
387 389
 	/**
388 390
 	 * Validates that a hash of the parameter array matches the included hash parameter
389 391
 	 *
390
-	 * @param array $parameters An array of query parameters.
391
-	 * @return array An array of the parameters minus the hash
392
+	 * @return boolean An array of the parameters minus the hash
392 393
 	 */
393 394
 	function validate_parameters() {
394 395
 		if ( empty( $_GET['hash'] ) ) {
Please login to merge, or discard this patch.