From 04b4d743c7a48fbeb810a7f8713deb507babb4ba Mon Sep 17 00:00:00 2001 From: Ash Smith Date: Mon, 12 Dec 2016 15:25:56 +0000 Subject: [PATCH] Remove carrier from constructor argument --- src/Model/Carrier.php | 2 -- src/Test/Unit/Model/CarrierTest.php | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Model/Carrier.php b/src/Model/Carrier.php index e0ccef3..6096979 100644 --- a/src/Model/Carrier.php +++ b/src/Model/Carrier.php @@ -63,7 +63,6 @@ class Carrier extends AbstractCarrier implements CarrierInterface * @param ResultFactory $rateResultFactory * @param MethodFactory $rateMethodFactory * @param Rounder $rounder - * @param LibCarrier $carrier * @param array $data */ public function __construct( @@ -73,7 +72,6 @@ public function __construct( ResultFactory $rateResultFactory, MethodFactory $rateMethodFactory, Rounder $rounder, - LibCarrier $carrier, array $data = [] ) { $this->rateResultFactory = $rateResultFactory; diff --git a/src/Test/Unit/Model/CarrierTest.php b/src/Test/Unit/Model/CarrierTest.php index 539e4df..f0cc4a2 100644 --- a/src/Test/Unit/Model/CarrierTest.php +++ b/src/Test/Unit/Model/CarrierTest.php @@ -99,8 +99,7 @@ protected function setUp() $logger, $this->rateResultFactory, $this->rateMethodFactory, - $this->rounder, - $this->libCarrier + $this->rounder ); $this->model->setCarrier($this->libCarrier); }