7
7
8
8
namespace Magento \Sales \Controller \Adminhtml \Order ;
9
9
10
- use Magento \Backend \App \Action ;
11
- use Magento \Sales \Api \OrderManagementInterface ;
12
- use Magento \Sales \Api \OrderRepositoryInterface ;
13
- use Magento \Directory \Model \RegionFactory ;
14
- use Psr \Log \LoggerInterface ;
15
- use Magento \Framework ;
16
-
17
10
class AddressSave extends \Magento \Sales \Controller \Adminhtml \Order
18
11
{
19
12
/**
@@ -24,40 +17,40 @@ class AddressSave extends \Magento\Sales\Controller\Adminhtml\Order
24
17
const ADMIN_RESOURCE = 'Magento_Sales::actions_edit ' ;
25
18
26
19
/**
27
- * @var RegionFactory
20
+ * @var \Magento\Directory\Model\ RegionFactory
28
21
*/
29
22
private $ regionFactory ;
30
23
31
24
/**
32
- * @param Action\Context $context
33
- * @param Framework\Registry $coreRegistry
34
- * @param Framework\App\Response\Http\FileFactory $fileFactory
35
- * @param Framework\Translate\InlineInterface $translateInline
36
- * @param Framework\View\Result\PageFactory $resultPageFactory
37
- * @param Framework\Controller\Result\JsonFactory $resultJsonFactory
38
- * @param Framework\View\Result\LayoutFactory $resultLayoutFactory
39
- * @param Framework\Controller\Result\RawFactory $resultRawFactory
40
- * @param OrderManagementInterface $orderManagement
41
- * @param OrderRepositoryInterface $orderRepository
42
- * @param LoggerInterface $logger
43
- * @param RegionFactory $regionFactory
25
+ * @param \Magento\Backend\App\ Action\Context $context
26
+ * @param \Magento\ Framework\Registry $coreRegistry
27
+ * @param \Magento\ Framework\App\Response\Http\FileFactory $fileFactory
28
+ * @param \Magento\ Framework\Translate\InlineInterface $translateInline
29
+ * @param \Magento\ Framework\View\Result\PageFactory $resultPageFactory
30
+ * @param \Magento\ Framework\Controller\Result\JsonFactory $resultJsonFactory
31
+ * @param \Magento\ Framework\View\Result\LayoutFactory $resultLayoutFactory
32
+ * @param \Magento\ Framework\Controller\Result\RawFactory $resultRawFactory
33
+ * @param \Magento\Sales\Api\ OrderManagementInterface $orderManagement
34
+ * @param \Magento\Sales\Api\ OrderRepositoryInterface $orderRepository
35
+ * @param \Psr\Log\ LoggerInterface $logger
36
+ * @param \Magento\Directory\Model\ RegionFactory $regionFactory
44
37
*
45
38
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
46
39
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
47
40
*/
48
41
public function __construct (
49
- Action \Context $ context ,
50
- Framework \Registry $ coreRegistry ,
51
- Framework \App \Response \Http \FileFactory $ fileFactory ,
52
- Framework \Translate \InlineInterface $ translateInline ,
53
- Framework \View \Result \PageFactory $ resultPageFactory ,
54
- Framework \Controller \Result \JsonFactory $ resultJsonFactory ,
55
- Framework \View \Result \LayoutFactory $ resultLayoutFactory ,
56
- Framework \Controller \Result \RawFactory $ resultRawFactory ,
57
- OrderManagementInterface $ orderManagement ,
58
- OrderRepositoryInterface $ orderRepository ,
59
- LoggerInterface $ logger ,
60
- RegionFactory $ regionFactory
42
+ \ Magento \ Backend \ App \ Action \Context $ context ,
43
+ \ Magento \ Framework \Registry $ coreRegistry ,
44
+ \ Magento \ Framework \App \Response \Http \FileFactory $ fileFactory ,
45
+ \ Magento \ Framework \Translate \InlineInterface $ translateInline ,
46
+ \ Magento \ Framework \View \Result \PageFactory $ resultPageFactory ,
47
+ \ Magento \ Framework \Controller \Result \JsonFactory $ resultJsonFactory ,
48
+ \ Magento \ Framework \View \Result \LayoutFactory $ resultLayoutFactory ,
49
+ \ Magento \ Framework \Controller \Result \RawFactory $ resultRawFactory ,
50
+ \ Magento \ Sales \ Api \ OrderManagementInterface $ orderManagement ,
51
+ \ Magento \ Sales \ Api \ OrderRepositoryInterface $ orderRepository ,
52
+ \ Psr \ Log \ LoggerInterface $ logger ,
53
+ \ Magento \ Directory \ Model \ RegionFactory $ regionFactory
61
54
) {
62
55
$ this ->regionFactory = $ regionFactory ;
63
56
parent ::__construct (
0 commit comments