Completed
Push — add/instagram ( 8ebc6f...c48c1a )
by
unknown
06:50
created
modules/widgets/instagram/instagram.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@  discard block
 block discarded – undo
121 121
 		return $images;
122 122
 	}
123 123
 
124
+	/**
125
+	 * @param string $path
126
+	 */
124 127
 	private function wpcom_json_api_request_as_blog( $path, $version = 1, $args = array(), $body = null, $base_api_path = 'rest' ) {
125 128
 		if ( ! class_exists( 'Jetpack_Client' ) ) {
126 129
 			return new WP_Error( 'missing_jetpack', 'The `Jetpack_Client` class is missing' );
@@ -447,7 +450,6 @@  discard block
 block discarded – undo
447 450
 	/**
448 451
 	 * Get an sha256 hash of a seialized array of parameters
449 452
 	 *
450
-	 * @param string $serialized_parameters A serialized string of a parameter array.
451 453
 	 * @return string An sha256 hash
452 454
 	 */
453 455
 	function get_paramater_hash( $parameters ) {
@@ -457,8 +459,7 @@  discard block
 block discarded – undo
457 459
 	/**
458 460
 	 * Validates that a hash of the parameter array matches the included hash parameter
459 461
 	 *
460
-	 * @param array $parameters An array of query parameters.
461
-	 * @return array An array of the parameters minus the hash
462
+	 * @return boolean An array of the parameters minus the hash
462 463
 	 */
463 464
 	function validate_parameters() {
464 465
 		if ( empty( $_GET['hash'] ) ) {
Please login to merge, or discard this patch.