Completed
Push — try/woocommerce-analytics ( 6ad85c...cd625f )
by
unknown
09:31
created
modules/widgets/goodreads.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
 		echo $args['after_widget'];
88 88
 	}
89 89
 
90
+	/**
91
+	 * @param string $user_id
92
+	 */
90 93
 	function goodreads_user_id_exists( $user_id ) {
91 94
 		$url = "https://www.goodreads.com/user/show/$user_id/";
92 95
 		$response = wp_remote_head( $url, array( 'httpversion' => '1.1', 'timeout' => 3, 'redirection' => 2 ) );
Please login to merge, or discard this patch.
woocommerce-analytics/classes/wp-woocommerce-analytics-universal.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
 	/**
311 311
 	 * Get the current user id
312 312
 	 *
313
-	 * @return int
313
+	 * @return string
314 314
 	 */
315 315
 	public function get_user_id() {
316 316
 		if ( is_user_logged_in() ) {
Please login to merge, or discard this patch.