Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix WC_Shipping_Method::get_fee() PHPDoc #1995

Merged
merged 1 commit into from

2 participants

@maxrice
Collaborator

No description provided.

@mikejolley mikejolley merged commit 383a8cf into woothemes:master
@elleb28 elleb28 referenced this pull request
Closed

Woocomerce Bug #3135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 16, 2012
  1. @maxrice
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/shipping/class-wc-shipping-method.php
View
4 classes/shipping/class-wc-shipping-method.php
@@ -208,7 +208,7 @@ function get_title() {
* @access public
* @param mixed $fee
* @param mixed $total
- * @return void
+ * @return float
*/
function get_fee( $fee, $total ) {
if ( strstr( $fee, '%' ) ) :
@@ -280,4 +280,4 @@ function get_shipping_tax() {
$taxes = array_sum( $this->taxes );
return $taxes;
}
-}
+}
Something went wrong with that request. Please try again.