Name the method and select Return value
Here's the Extract Method screen after renaming the method, renaming one parameter and checking a return value box: