Skip to content

Commit b906107

Browse files
committed
MAGETWO-54693: Ability to return the product to the stock after Creditmemo API
1 parent ec6de6f commit b906107

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/code/Magento/Sales/Model/RefundInvoice.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class RefundInvoice implements RefundInvoiceInterface
8989
* @param RefundInvoiceValidator $validator
9090
* @param CreditmemoRepositoryInterface $creditmemoRepository
9191
* @param PaymentAdapterInterface $paymentAdapter
92-
* @param CreditmemoDocumentFactory $creditmemotFactory
92+
* @param CreditmemoDocumentFactory $creditmemoDocumentFactory
9393
* @param NotifierInterface $notifier
9494
* @param OrderConfig $config
9595
* @param LoggerInterface $logger
@@ -103,7 +103,7 @@ public function __construct(
103103
RefundInvoiceValidator $validator,
104104
CreditmemoRepositoryInterface $creditmemoRepository,
105105
PaymentAdapterInterface $paymentAdapter,
106-
CreditmemoDocumentFactory $creditmemotFactory,
106+
CreditmemoDocumentFactory $creditmemoDocumentFactory,
107107
NotifierInterface $notifier,
108108
OrderConfig $config,
109109
LoggerInterface $logger
@@ -115,7 +115,7 @@ public function __construct(
115115
$this->validator = $validator;
116116
$this->creditmemoRepository = $creditmemoRepository;
117117
$this->paymentAdapter = $paymentAdapter;
118-
$this->creditmemoDocumentFactory = $creditmemotFactory;
118+
$this->creditmemoDocumentFactory = $creditmemoDocumentFactory;
119119
$this->notifier = $notifier;
120120
$this->config = $config;
121121
$this->logger = $logger;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* Class InvoiceRefundCreatetionArgumentsTest
2020
*/
21-
class InvoiceRefundCreatetionArgumentsTest extends \PHPUnit_Framework_TestCase
21+
class InvoiceRefundCreationArgumentsTest extends \PHPUnit_Framework_TestCase
2222
{
2323
/**
2424
* @var InvoiceRefundCreationArguments
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* Class OrderRefundCreatetionArgumentsTest
1919
*/
20-
class OrderRefundCreatetionArgumentsTest extends \PHPUnit_Framework_TestCase
20+
class OrderRefundCreationArgumentsTest extends \PHPUnit_Framework_TestCase
2121
{
2222
/**
2323
* @var OrderRefundCreationArguments

0 commit comments

Comments
 (0)