Completed
Push — dna/fix-wpcom-fatal ( 59cea8...d8acf8 )
by
unknown
37:49 queued 31:49
created
packages/status/tests/php/test_Status.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -205,8 +205,7 @@  discard block
 block discarded – undo
205 205
 	/**
206 206
 	 * Mock a set of constants.
207 207
 	 *
208
-	 * @param array $args Array of sets with constants and their respective values.
209
-	 * @return phpmock\Mock The mock object.
208
+	 * @return phpmock\Mock[] The mock object.
210 209
 	 */
211 210
 	protected function mock_constants( $constants = array() ) {
212 211
 		$prepare_constant = function( $constant ) {
@@ -222,7 +221,7 @@  discard block
 block discarded – undo
222 221
 	/**
223 222
 	 * Mock $wpdb->get_var() and make it return a certain value.
224 223
 	 *
225
-	 * @param mixed  $return_value  Return value of the function.
224
+	 * @param integer  $return_value  Return value of the function.
226 225
 	 * @return PHPUnit\Framework\MockObject\MockObject The mock object.
227 226
 	 */
228 227
 	protected function mock_wpdb_get_var( $return_value = null ) {
Please login to merge, or discard this patch.