@@ -82,8 +82,8 @@ class InlineEdit extends \Magento\Backend\App\Action implements HttpPostActionIn
82
82
* @param \Magento\Customer\Model\Customer\Mapper $customerMapper
83
83
* @param \Magento\Framework\Api\DataObjectHelper $dataObjectHelper
84
84
* @param \Psr\Log\LoggerInterface $logger
85
- * @param \Magento\Framework\Escaper $escaper
86
85
* @param AddressRegistry|null $addressRegistry
86
+ * @param \Magento\Framework\Escaper $escaper
87
87
*/
88
88
public function __construct (
89
89
Action \Context $ context ,
@@ -92,16 +92,16 @@ public function __construct(
92
92
\Magento \Customer \Model \Customer \Mapper $ customerMapper ,
93
93
\Magento \Framework \Api \DataObjectHelper $ dataObjectHelper ,
94
94
\Psr \Log \LoggerInterface $ logger ,
95
- \ Magento \ Framework \ Escaper $ escaper ,
96
- AddressRegistry $ addressRegistry = null
95
+ AddressRegistry $ addressRegistry = null ,
96
+ \ Magento \ Framework \ Escaper $ escaper = null
97
97
) {
98
98
$ this ->customerRepository = $ customerRepository ;
99
99
$ this ->resultJsonFactory = $ resultJsonFactory ;
100
100
$ this ->customerMapper = $ customerMapper ;
101
101
$ this ->dataObjectHelper = $ dataObjectHelper ;
102
102
$ this ->logger = $ logger ;
103
- $ this ->escaper = $ escaper ;
104
103
$ this ->addressRegistry = $ addressRegistry ?: ObjectManager::getInstance ()->get (AddressRegistry::class);
104
+ $ this ->escaper = $ escaper ?: ObjectManager::getInstance ()->get (\Magento \Framework \Escaper::class);
105
105
parent ::__construct ($ context );
106
106
}
107
107
0 commit comments