Corrected get_return_url docblock

This commit is contained in:
Mike Jolley 2014-10-07 11:03:13 +01:00
parent 8c3d142002
commit 80716fbd46
1 changed files with 2 additions and 2 deletions

View File

@ -60,10 +60,10 @@ abstract class WC_Payment_Gateway extends WC_Settings_API {
/**
* Get the return url (thank you page)
*
* @param string $order (default: '')
* @param WC_Order $order
* @return string
*/
public function get_return_url( $order = '' ) {
public function get_return_url( $order = null ) {
if ( $order ) {
$return_url = $order->get_checkout_order_received_url();