Completed
Push — master ( 559f84...4424cd )
by Armando
01:14
created
lib/class-wp2d-api.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
 	 * @param string $url  The URL to request.
630 630
 	 * @param array  $args Arguments to be posted with the request.
631 631
 	 *
632
-	 * @return object An object containing details about this request.
632
+	 * @return string An object containing details about this request.
633 633
 	 */
634 634
 	private function request( $url, array $args = [] ) {
635 635
 		// Prefix the full pod URL if necessary.
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
 	 *
701 701
 	 * @see   WP_Error::__construct()
702 702
 	 *
703
-	 * @param string|int $code    Error code.
703
+	 * @param string $code    Error code.
704 704
 	 * @param string     $message Error message.
705 705
 	 * @param mixed      $data    Error data.
706 706
 	 */
Please login to merge, or discard this patch.
lib/class-wp2d.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
 	 *
277 277
 	 * @param array $links Links to display for plugin on plugins page.
278 278
 	 *
279
-	 * @return array Links to display for plugin on plugins page.
279
+	 * @return string[] Links to display for plugin on plugins page.
280 280
 	 */
281 281
 	public function settings_link( $links ) {
282 282
 		$links[] = '<a href="' . esc_url( admin_url( 'options-general.php?page=wp_to_diaspora' ) ) . '">' . __( 'Settings', 'wp-to-diaspora' ) . '</a>';
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
 	/**
354 354
 	 * Check the pod connection status.
355 355
 	 *
356
-	 * @return bool The status of the connection.
356
+	 * @return boolean|null The status of the connection.
357 357
 	 */
358 358
 	private function check_pod_connection_status() {
359 359
 		$options = WP2D_Options::instance();
Please login to merge, or discard this patch.