Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix WC_Shipping_Method::get_fee() PHPDoc #1995

Merged
merged 1 commit into from

2 participants

Max Rice Mike Jolley
Max Rice
Collaborator

No description provided.

Mike Jolley mikejolley merged commit 383a8cf into from
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. Max Rice
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
4 classes/shipping/class-wc-shipping-method.php
View
@@ -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.