Skip to content

Commit ad6fc1e

Browse files
author
Oleksii Korshenko
authored
MAGETWO-67043: Fix typo #9076
2 parents 3419c71 + 8e3a138 commit ad6fc1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Sales/Controller/Adminhtml/Order/Pdfshipments.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Pdfshipments extends \Magento\Sales\Controller\Adminhtml\Order\AbstractMas
3939
/**
4040
* @var ShipmentCollectionFactory
4141
*/
42-
protected $shipmentCollectionFactotory;
42+
protected $shipmentCollectionFactory;
4343

4444
/**
4545
* @param Context $context
@@ -63,7 +63,7 @@ public function __construct(
6363
$this->dateTime = $dateTime;
6464
$this->pdfShipment = $shipment;
6565
$this->collectionFactory = $collectionFactory;
66-
$this->shipmentCollectionFactotory = $shipmentCollectionFactory;
66+
$this->shipmentCollectionFactory = $shipmentCollectionFactory;
6767
parent::__construct($context, $filter);
6868
}
6969

@@ -75,7 +75,7 @@ public function __construct(
7575
*/
7676
protected function massAction(AbstractCollection $collection)
7777
{
78-
$shipmentsCollection = $this->shipmentCollectionFactotory
78+
$shipmentsCollection = $this->shipmentCollectionFactory
7979
->create()
8080
->setOrderFilter(['in' => $collection->getAllIds()]);
8181
if (!$shipmentsCollection->getSize()) {

0 commit comments

Comments
 (0)