Completed
Pull Request — master (#11616)
by
unknown
11:41
created
includes/class-wc-auth.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 	/**
146 146
 	 * Decode and format a URL.
147 147
 	 * @param  string $url
148
-	 * @return array
148
+	 * @return string
149 149
 	 */
150 150
 	protected function get_formatted_url( $url ) {
151 151
 		$url = urldecode( $url );
@@ -519,6 +519,9 @@  discard block
 block discarded – undo
519 519
 		return true;
520 520
 	}
521 521
 
522
+	/**
523
+	 * @param integer $key_id
524
+	 */
522 525
 	public static function update_last_access( $key_id ) {
523 526
 		return self::update_api_key( $key_id, array( 'last_access' => current_time( 'mysql' ) ) );
524 527
 	}
@@ -715,6 +718,9 @@  discard block
 block discarded – undo
715 718
 		return $result;
716 719
 	}
717 720
 
721
+	/**
722
+	 * @param integer $key_id
723
+	 */
718 724
 	public static function clear_api_key_cache( $key_id ) {
719 725
 		$data = self::get_api_key_data( $key_id );
720 726
 		if ( ! $data ) {
Please login to merge, or discard this patch.