File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
app/code/Magento/Customer/Controller/Adminhtml/Index Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 11
11
use Magento \Customer \Controller \RegistryConstants ;
12
12
use Magento \Customer \Model \EmailNotificationInterface ;
13
13
use Magento \Customer \Model \Metadata \Form ;
14
- use Magento \Framework \Exception \LocalizedException ;
15
14
16
- /**
17
- * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
18
- */
19
15
class Save extends \Magento \Customer \Controller \Adminhtml \Index
20
16
{
21
17
/**
@@ -271,7 +267,7 @@ public function execute()
271
267
$ this ->_addSessionErrorMessages ($ messages );
272
268
$ this ->_getSession ()->setCustomerFormData ($ originalRequestData );
273
269
$ returnToEdit = true ;
274
- } catch (LocalizedException $ exception ) {
270
+ } catch (\ Magento \ Framework \ Exception \ LocalizedException $ exception ) {
275
271
$ this ->_addSessionErrorMessages ($ exception ->getMessage ());
276
272
$ this ->_getSession ()->setCustomerFormData ($ originalRequestData );
277
273
$ returnToEdit = true ;
You can’t perform that action at this time.
0 commit comments