Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #13 from pmclain/hotfix/di-error
Browse files Browse the repository at this point in the history
Add missing constructor argument in ship adapter
  • Loading branch information
pmclain authored Dec 1, 2017
2 parents 1bbc3e2 + 9341bf7 commit b192855
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Model/Adapter/Order/Shipment.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Magento\Shipping\Model\CarrierFactory;
use Psr\Log\LoggerInterface;
use Twilio\Rest\ClientFactory as TwilioClientFactory;
use Magento\Framework\UrlInterface;

class Shipment extends AdapterAbstract
{
Expand All @@ -44,7 +45,8 @@ public function __construct(
StoreManagerInterface $storeManager,
\Pmclain\Twilio\Model\LogRepository $logRepository,
\Pmclain\Twilio\Model\LogFactory $logFactory,
CarrierFactory $carrierFactory
CarrierFactory $carrierFactory,
UrlInterface $urlBuilder
) {
parent::__construct(
$helper,
Expand All @@ -53,7 +55,8 @@ public function __construct(
$messageTemplateParser,
$storeManager,
$logRepository,
$logFactory
$logFactory,
$urlBuilder
);
$this->carrierFactory = $carrierFactory;
}
Expand Down

0 comments on commit b192855

Please sign in to comment.