Skip to content

Commit 8aa5ac5

Browse files
author
Stanislav Idolov
committed
magento-engcom/magento2ce#2737: Fixed void return type
1 parent 53d39a3 commit 8aa5ac5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Quote/Model/QuoteManagement.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,12 +604,13 @@ protected function _prepareCustomerQuote($quote)
604604
* @param \Magento\Sales\Api\Data\OrderInterface $order
605605
* @param \Exception $e
606606
* @throws \Exception
607+
* @return void
607608
*/
608609
private function rollbackAddresses(
609610
QuoteEntity $quote,
610611
\Magento\Sales\Api\Data\OrderInterface $order,
611612
\Exception $e
612-
): void {
613+
) {
613614
try {
614615
if (!empty($this->addressesToSync)) {
615616
foreach ($this->addressesToSync as $addressId) {

0 commit comments

Comments
 (0)