Skip to content

Commit

Permalink
MAGETWO-67043: Fix typo #9076
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Korshenko authored Apr 1, 2017
2 parents 3419c71 + 8e3a138 commit ad6fc1e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Pdfshipments extends \Magento\Sales\Controller\Adminhtml\Order\AbstractMas
/**
* @var ShipmentCollectionFactory
*/
protected $shipmentCollectionFactotory;
protected $shipmentCollectionFactory;

/**
* @param Context $context
Expand All @@ -63,7 +63,7 @@ public function __construct(
$this->dateTime = $dateTime;
$this->pdfShipment = $shipment;
$this->collectionFactory = $collectionFactory;
$this->shipmentCollectionFactotory = $shipmentCollectionFactory;
$this->shipmentCollectionFactory = $shipmentCollectionFactory;
parent::__construct($context, $filter);
}

Expand All @@ -75,7 +75,7 @@ public function __construct(
*/
protected function massAction(AbstractCollection $collection)
{
$shipmentsCollection = $this->shipmentCollectionFactotory
$shipmentsCollection = $this->shipmentCollectionFactory
->create()
->setOrderFilter(['in' => $collection->getAllIds()]);
if (!$shipmentsCollection->getSize()) {
Expand Down

0 comments on commit ad6fc1e

Please sign in to comment.