Completed
Push — update/implement-connection-ma... ( c6a8db )
by Marin
08:50
created
packages/connection/src/Manager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	 * Returns true if the user with the specified identifier is connected to
57 57
 	 * WordPress.com.
58 58
 	 *
59
-	 * @param Integer|Boolean $user_id the user identifier.
59
+	 * @param integer $user_id the user identifier.
60 60
 	 * @return Boolean is the user connected?
61 61
 	 */
62 62
 	public function is_user_connected( $user_id = false ) {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 * Get the wpcom user data of the current|specified connected user.
73 73
 	 *
74 74
 	 * @param Integer $user_id the user identifier.
75
-	 * @return Object the user object.
75
+	 * @return integer the user object.
76 76
 	 */
77 77
 	public function get_connected_user_data( $user_id ) {
78 78
 		return $user_id;
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	 * Is the user the connection owner.
83 83
 	 *
84 84
 	 * @param Integer $user_id the user identifier.
85
-	 * @return Boolean is the user the connection owner?
85
+	 * @return integer is the user the connection owner?
86 86
 	 */
87 87
 	public function is_connection_owner( $user_id ) {
88 88
 		return $user_id;
Please login to merge, or discard this patch.
packages/connection/tests/php/Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 	 * Mock a global function and make it return a certain value.
116 116
 	 *
117 117
 	 * @param string $function_name Name of the function.
118
-	 * @param mixed  $return_value  Return value of the function.
118
+	 * @param integer  $return_value  Return value of the function.
119 119
 	 * @return phpmock\Mock The mock object.
120 120
 	 */
121 121
 	protected function mock_function( $function_name, $return_value = null ) {
Please login to merge, or discard this patch.