@@ -72,7 +72,7 @@ |
||
| 72 | 72 | * Mock a global function and make it return a certain value. |
| 73 | 73 | * |
| 74 | 74 | * @param string $function_name Name of the function. |
| 75 | - * @param mixed $return_value Return value of the function. |
|
| 75 | + * @param string $return_value Return value of the function. |
|
| 76 | 76 | * @return phpmock\Mock The mock object. |
| 77 | 77 | */ |
| 78 | 78 | protected function mock_function( $function_name, $return_value = null ) { |