Skip to content

Commit 6b275b3

Browse files
committed
Merge remote-tracking branch '36979/no-author/backup-bundle' into commpr-10131-0608
2 parents 0d74b8f + 2fea48a commit 6b275b3

File tree

18 files changed

+40
-53
lines changed

18 files changed

+40
-53
lines changed

app/code/Magento/Backup/Block/Adminhtml/Backup.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,18 @@
1111
* Adminhtml backup page content block
1212
*
1313
* @api
14-
* @author Magento Core Team <[email protected]>
1514
* @since 100.0.2
1615
*/
1716
class Backup extends \Magento\Backend\Block\Template
1817
{
1918
/**
20-
* Block's template
21-
*
2219
* @var string
2320
*/
2421
protected $_template = 'Magento_Backup::backup/list.phtml';
2522

2623
/**
24+
* Prepare the layout
25+
*
2726
* @return AbstractBlock|void
2827
*/
2928
protected function _prepareLayout()
@@ -62,6 +61,8 @@ protected function _prepareLayout()
6261
}
6362

6463
/**
64+
* Return HTML for the backups grid
65+
*
6566
* @return string
6667
*/
6768
public function getGridHtml()

app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Renderer/Download.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Backup grid item renderer
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Backup\Block\Adminhtml\Grid\Column\Renderer;
1311

app/code/Magento/Backup/Block/Adminhtml/Grid/Column/Rollback.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Grid column block that is displayed only if rollback allowed
9-
*
10-
* @author Magento Core Team <[email protected]>
119
*/
1210
namespace Magento\Backup\Block\Adminhtml\Grid\Column;
1311

app/code/Magento/Backup/Controller/Adminhtml/Index.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Backup admin controller
1414
*
15-
* @author Magento Core Team <[email protected]>
15+
* @phpcs:ignore Magento2.Classes.AbstractApi.AbstractApi
1616
* @api
1717
* @since 100.0.2
1818
* @SuppressWarnings(PHPMD.AllPurposeAction)
@@ -24,11 +24,9 @@ abstract class Index extends Action
2424
*
2525
* @see _isAllowed()
2626
*/
27-
const ADMIN_RESOURCE = 'Magento_Backup::backup';
27+
public const ADMIN_RESOURCE = 'Magento_Backup::backup';
2828

2929
/**
30-
* Core registry
31-
*
3230
* @var \Magento\Framework\Registry
3331
*/
3432
protected $_coreRegistry = null;

app/code/Magento/Backup/Model/Config/Source/Type.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88
/**
99
* Backups types' source model for system configuration
1010
*
11-
* @author Magento Core Team <[email protected]>
1211
* @api
1312
* @since 100.0.2
1413
*/
1514
class Type implements \Magento\Framework\Option\ArrayInterface
1615
{
1716
/**
18-
* Backup data
19-
*
2017
* @var \Magento\Backup\Helper\Data
2118
*/
2219
protected $_backupData = null;
@@ -30,7 +27,7 @@ public function __construct(\Magento\Backup\Helper\Data $backupData)
3027
}
3128

3229
/**
33-
* {@inheritdoc}
30+
* @inheritDoc
3431
*/
3532
public function toOptionArray()
3633
{

app/code/Magento/Backup/Model/Grid/Options.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@
44
* All Rights Reserved.
55
*/
66

7-
/**
8-
* Backup types option array
9-
*
10-
* @author Magento Core Team <[email protected]>
11-
*/
127
namespace Magento\Backup\Model\Grid;
138

149
/**
10+
* Backup types option array
11+
*
1512
* @api
1613
* @since 100.0.2
1714
*/
@@ -32,6 +29,7 @@ public function __construct(\Magento\Backup\Helper\Data $backupHelper)
3229

3330
/**
3431
* Return backup types array
32+
*
3533
* @return array
3634
*/
3735
public function toOptionArray()

app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Checkbox.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* Bundle option checkbox type renderer
1313
*
1414
* @api
15-
* @author Magento Core Team <[email protected]>
1615
* @since 100.0.2
1716
*/
1817
class Checkbox extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Checkbox

app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Multi.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* Bundle option multi select type renderer
1313
*
1414
* @api
15-
* @author Magento Core Team <[email protected]>
1615
* @since 100.0.2
1716
*/
1817
class Multi extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Multi

app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Radio.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* Bundle option radiobox type renderer
1313
*
1414
* @api
15-
* @author Magento Core Team <[email protected]>
1615
* @since 100.0.2
1716
*/
1817
class Radio extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Radio

app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Composite/Fieldset/Options/Type/Select.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* Bundle option dropdown type renderer
1313
*
1414
* @api
15-
* @author Magento Core Team <[email protected]>
1615
* @since 100.0.2
1716
*/
1817
class Select extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Select

0 commit comments

Comments
 (0)