@@ -205,8 +205,7 @@ discard block |
||
| 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 |
||
| 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 ) { |