@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | * Mock a set of constants. |
| 313 | 313 | * |
| 314 | 314 | * @param array $constants Array of sets with constants and their respective values. |
| 315 | - * @return phpmock\Mock The mock object. |
|
| 315 | + * @return phpmock\Mock[] The mock object. |
|
| 316 | 316 | */ |
| 317 | 317 | protected function mock_constants( $constants = array() ) { |
| 318 | 318 | $prepare_constant = function ( $constant ) { |
@@ -328,7 +328,7 @@ discard block |
||
| 328 | 328 | /** |
| 329 | 329 | * Mock $wpdb->get_var() and make it return a certain value. |
| 330 | 330 | * |
| 331 | - * @param mixed $return_value Return value of the function. |
|
| 331 | + * @param integer $return_value Return value of the function. |
|
| 332 | 332 | * |
| 333 | 333 | * PHPUnit\Framework\MockObject\MockObject The mock object. |
| 334 | 334 | */ |