Skip to content

Commit

Permalink
Merge pull request #54 from elisei/Magento@2.4.6
Browse files Browse the repository at this point in the history
PagBank 😍 Magento
  • Loading branch information
elisei authored Feb 15, 2024
2 parents 55998ae + 80dc1cb commit 51692c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Model/Adminhtml/Source/OrderStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ class OrderStatus implements ArrayInterface
/**
* @var CollectionFactory
*/
protected $statusCollectionFactory;
protected $statusColFactory;

/**
* Constructor
*
* @param CollectionFactory $statusCollectionFactory
* @param CollectionFactory $statusColFactory
*/
public function __construct(
CollectionFactory $statusCollectionFactory
CollectionFactory $statusColFactory
) {
$this->statusCollectionFactory = $statusCollectionFactory;
$this->statusColFactory = $statusColFactory;
}

/**
Expand All @@ -40,7 +40,7 @@ public function __construct(
public function toOptionArray()
{
$options = [];
$statusCollection = $this->statusCollectionFactory->create();
$statusCollection = $this->statusColFactory->create();
foreach ($statusCollection as $status) {
$options[] = [
'value' => $status->getStatus(),
Expand Down

0 comments on commit 51692c2

Please sign in to comment.