Completed
Push — add/status-is-multi-network ( c8ed78...1535a3 )
by Marin
22:16 queued 14:02
created
packages/status/tests/php/test_Status.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -176,7 +176,6 @@  discard block
 block discarded – undo
176 176
 	/**
177 177
 	 * Mock a set of filters.
178 178
 	 *
179
-	 * @param array $args Array of filters with their arguments.
180 179
 	 * @return phpmock\Mock The mock object.
181 180
 	 */
182 181
 	protected function mock_filters( $filters = array() ) {
@@ -186,8 +185,7 @@  discard block
 block discarded – undo
186 185
 	/**
187 186
 	 * Mock a set of constants.
188 187
 	 *
189
-	 * @param array $args Array of sets with constants and their respective values.
190
-	 * @return phpmock\Mock The mock object.
188
+	 * @return phpmock\Mock[] The mock object.
191 189
 	 */
192 190
 	protected function mock_constants( $constants = array() ) {
193 191
 		$prepare_constant = function( $constant ) {
@@ -204,7 +202,7 @@  discard block
 block discarded – undo
204 202
 	 * Mock a global function and make it return a certain value.
205 203
 	 *
206 204
 	 * @param string $function_name Name of the function.
207
-	 * @param mixed  $return_value  Return value of the function.
205
+	 * @param string|boolean  $return_value  Return value of the function.
208 206
 	 * @return phpmock\Mock The mock object.
209 207
 	 */
210 208
 	protected function mock_function( $function_name, $return_value = null ) {
@@ -220,7 +218,7 @@  discard block
 block discarded – undo
220 218
 	/**
221 219
 	 * Mock $wpdb->get_var() and make it return a certain value.
222 220
 	 *
223
-	 * @param mixed  $return_value  Return value of the function.
221
+	 * @param integer  $return_value  Return value of the function.
224 222
 	 * @return PHPUnit\Framework\MockObject\MockObject The mock object.
225 223
 	 */
226 224
 	protected function mock_wpdb_get_var( $return_value = null ) {
Please login to merge, or discard this patch.