@@ -188,7 +188,6 @@ discard block |
||
188 | 188 | /** |
189 | 189 | * Mock a set of filters. |
190 | 190 | * |
191 | - * @param array $args Array of filters with their arguments. |
|
192 | 191 | * @return phpmock\Mock The mock object. |
193 | 192 | */ |
194 | 193 | protected function mock_filters( $filters = array() ) { |
@@ -198,8 +197,7 @@ discard block |
||
198 | 197 | /** |
199 | 198 | * Mock a set of constants. |
200 | 199 | * |
201 | - * @param array $args Array of sets with constants and their respective values. |
|
202 | - * @return phpmock\Mock The mock object. |
|
200 | + * @return phpmock\Mock[] The mock object. |
|
203 | 201 | */ |
204 | 202 | protected function mock_constants( $constants = array() ) { |
205 | 203 | $prepare_constant = function( $constant ) { |
@@ -216,7 +214,7 @@ discard block |
||
216 | 214 | * Mock a global function and make it return a certain value. |
217 | 215 | * |
218 | 216 | * @param string $function_name Name of the function. |
219 | - * @param mixed $return_value Return value of the function. |
|
217 | + * @param string|boolean $return_value Return value of the function. |
|
220 | 218 | * @return phpmock\Mock The mock object. |
221 | 219 | */ |
222 | 220 | protected function mock_function( $function_name, $return_value = null ) { |