@@ -87,7 +87,7 @@ |
||
87 | 87 | * Mock a global function and make it return a certain value. |
88 | 88 | * |
89 | 89 | * @param string $function_name Name of the function. |
90 | - * @param mixed $return_value Return value of the function. |
|
90 | + * @param boolean|string $return_value Return value of the function. |
|
91 | 91 | * @return phpmock\Mock The mock object. |
92 | 92 | */ |
93 | 93 | protected function mock_function( $function_name, $return_value = null ) { |