@@ -222,7 +222,6 @@ discard block |
||
222 | 222 | /** |
223 | 223 | * Mock a set of filters. |
224 | 224 | * |
225 | - * @param array $args Array of filters with their arguments. |
|
226 | 225 | * @return phpmock\Mock The mock object. |
227 | 226 | */ |
228 | 227 | protected function mock_filters( $filters = array() ) { |
@@ -232,8 +231,7 @@ discard block |
||
232 | 231 | /** |
233 | 232 | * Mock a set of constants. |
234 | 233 | * |
235 | - * @param array $args Array of sets with constants and their respective values. |
|
236 | - * @return phpmock\Mock The mock object. |
|
234 | + * @return phpmock\Mock[] The mock object. |
|
237 | 235 | */ |
238 | 236 | protected function mock_constants( $constants = array() ) { |
239 | 237 | $prepare_constant = function( $constant ) { |
@@ -266,7 +264,7 @@ discard block |
||
266 | 264 | /** |
267 | 265 | * Mock $wpdb->get_var() and make it return a certain value. |
268 | 266 | * |
269 | - * @param mixed $return_value Return value of the function. |
|
267 | + * @param integer $return_value Return value of the function. |
|
270 | 268 | * @return PHPUnit\Framework\MockObject\MockObject The mock object. |
271 | 269 | */ |
272 | 270 | protected function mock_wpdb_get_var( $return_value = null ) { |