@@ -56,7 +56,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -115,7 +115,7 @@ |
||
| 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 ) { |