Skip to content
Snippets Groups Projects
Commit 427fe80f authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Fix function signature -> warning about signature mismatch solved

parent 429f53a0
Branches
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ class Shipping_by_Rules extends WC_Shipping_Method { ...@@ -142,7 +142,7 @@ class Shipping_by_Rules extends WC_Shipping_Method {
* @param mixed $package * @param mixed $package
* @return void * @return void
*/ */
public function calculate_shipping( $package ) { public function calculate_shipping( $package = array()) {
$methods = $this->helper->get_rule_shipping_methods(); $methods = $this->helper->get_rule_shipping_methods();
foreach ($methods as $method) { foreach ($methods as $method) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment