diff --git a/Model/Carrier/Pickup.php b/Model/Carrier/Pickup.php index 63ac536..4495269 100644 --- a/Model/Carrier/Pickup.php +++ b/Model/Carrier/Pickup.php @@ -66,7 +66,7 @@ public function getAllowedMethods() return ['pickup' => $this->getConfigData ('name')]; } -public function collectRates(RateRequest $request) +public function collectRates(RateRequest $request, $pickup = true) { if (!$this->getConfigFlag ('active')) { diff --git a/composer.json b/composer.json index 81fadfb..1d9b649 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "OSL-3.0" ], "require": { - "php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0", + "php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2", "intelipost/magento2-basic": "1.*", "intelipost/magento2-quote": "1.*" },