From c08471cc9da9159454a68b87f884babdcff42883 Mon Sep 17 00:00:00 2001 From: codehgento Date: Mon, 18 Feb 2019 17:54:42 -0300 Subject: [PATCH] + updating php 7.2 compatibility --- Model/Carrier/Pickup.php | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.*" },