Skip to content

Commit 95b6fef

Browse files
committed
ACPT-826
1 parent 7985ef4 commit 95b6fef

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

app/code/Magento/AsyncConfig/Plugin/Controller/System/Config/SaveAsyncConfigPlugin.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ class SaveAsyncConfigPlugin
4545
public const ASYNC_CONFIG_OPTION_PATH = 'config/async';
4646

4747
/**
48+
*
4849
* @param DeploymentConfig|null $deploymentConfig
4950
* @param AsyncConfigPublisherInterface|null $asyncConfigPublisher
51+
* @param RedirectFactory $resultRedirectFactory
52+
* @param ManagerInterface $messageManager
5053
*/
5154
public function __construct(
5255
DeploymentConfig $deploymentConfig = null,
@@ -63,11 +66,12 @@ public function __construct(
6366
}
6467

6568
/**
66-
* Execute Save action
6769
*
6870
* @param Save $subject
69-
* @throws LocalizedException
71+
* @param callable $proceed
72+
* @return \Magento\Backend\Model\View\Result\Redirect
7073
* @throws FileSystemException
74+
* @throws LocalizedException
7175
* @throws RuntimeException
7276
*/
7377
public function aroundExecute(Save $subject, callable $proceed)

app/code/Magento/AsyncConfig/composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"require": {
55
"php": "~8.1.0||~8.2.0",
66
"magento/framework": "*",
7-
"magento/module-config": "*",
8-
"magento/module-media-gallery-integration": "*",
9-
"magento/module-backend": "*"
7+
"magento/module-config": "*"
108
},
119
"type": "magento2-module",
1210
"license": [

app/code/Magento/Config/Controller/Adminhtml/System/AbstractConfig.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ abstract class AbstractConfig extends \Magento\Backend\App\AbstractAction
2323
*
2424
* @see _isAllowed()
2525
*/
26-
const ADMIN_RESOURCE = 'Magento_Config::config';
26+
public const ADMIN_RESOURCE = 'Magento_Config::config';
2727

2828
/**
2929
* @var \Magento\Config\Model\Config\Structure
@@ -32,6 +32,7 @@ abstract class AbstractConfig extends \Magento\Backend\App\AbstractAction
3232

3333
/**
3434
* @deprecated 101.0.0
35+
* @see Nothing
3536
*/
3637
protected $_sectionChecker;
3738

0 commit comments

Comments
 (0)