Skip to content

Commit 1204f23

Browse files
authored
magento/magento2: Refactor \Order\Shipment\Save Controller to use ResultInterface
Fix return type
1 parent 00953bc commit 1204f23

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment

1 file changed

+1
-1
lines changed

app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Save.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected function _saveShipment($shipment)
9191
* Save shipment
9292
* We can save only new shipment. Existing shipments are not editable
9393
*
94-
* @return \Magento\Backend\Model\View\Result\Redirect
94+
* @return \Magento\Framework\Controller\ResultInterface
9595
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
9696
* @SuppressWarnings(PHPMD.NPathComplexity)
9797
*/

0 commit comments

Comments
 (0)