|
@@ -115,7 +115,7 @@ |
|
|
block discarded – undo |
|
115
|
115
|
* Mock a global function and make it return a certain value. |
|
116
|
116
|
* |
|
117
|
117
|
* @param string $function_name Name of the function. |
|
118
|
|
- * @param mixed $return_value Return value of the function. |
|
|
118
|
+ * @param integer $return_value Return value of the function. |
|
119
|
119
|
* @return phpmock\Mock The mock object. |
|
120
|
120
|
*/ |
|
121
|
121
|
protected function mock_function( $function_name, $return_value = null ) { |
Please login to merge, or discard this patch.