Completed
Push — update/travis-74 ( 3f5ac5...596ba5 )
by Jeremy
96:28 queued 81:57
created
packages/roles/tests/php/test-roles.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@
 block discarded – undo
124 124
 	 * Optionally can limit the mock to invocations with certain arguments.
125 125
 	 *
126 126
 	 * @param string $function_name Name of the function.
127
-	 * @param mixed  $return_value  Return value of the function.
127
+	 * @param boolean  $return_value  Return value of the function.
128 128
 	 * @param mixed  $arg_1_value   Value of the first argument value we expect.
129
-	 * @param mixed  $arg_2_value   Value of the second argument value we expect.
129
+	 * @param string  $arg_2_value   Value of the second argument value we expect.
130 130
 	 * @return phpmock\Mock The mock object.
131 131
 	 */
132 132
 	protected function mock_function( $function_name, $return_value = null, $arg_1_value = null, $arg_2_value = null ) {
Please login to merge, or discard this patch.
packages/status/tests/php/test-status.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
 	 * Mock a set of constants.
308 308
 	 *
309 309
 	 * @param array $constants Array of sets with constants and their respective values.
310
-	 * @return phpmock\Mock The mock object.
310
+	 * @return phpmock\Mock[] The mock object.
311 311
 	 */
312 312
 	protected function mock_constants( $constants = array() ) {
313 313
 		$prepare_constant = function( $constant ) {
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
 	/**
324 324
 	 * Mock $wpdb->get_var() and make it return a certain value.
325 325
 	 *
326
-	 * @param mixed $return_value  Return value of the function.
326
+	 * @param integer $return_value  Return value of the function.
327 327
 	 *
328 328
 	 * PHPUnit\Framework\MockObject\MockObject The mock object.
329 329
 	 */
Please login to merge, or discard this patch.