We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31fe2bd + 4be2ef2 commit b572c7aCopy full SHA for b572c7a
app/code/Magento/Sales/Model/Service/CreditmemoService.php
@@ -269,7 +269,7 @@ private function getInvoiceRepository()
269
{
270
if ($this->invoiceRepository === null) {
271
$this->invoiceRepository = \Magento\Framework\App\ObjectManager::getInstance()
272
- ->get(\Magento\Sales\Api\OrderRepositoryInterface::class);
+ ->get(\Magento\Sales\Api\InvoiceRepositoryInterface::class);
273
}
274
return $this->invoiceRepository;
275
0 commit comments