Skip to content

Commit 4c3bb9d

Browse files
committed
Fix static test failures
1 parent 8935725 commit 4c3bb9d

File tree

6 files changed

+5
-11
lines changed

6 files changed

+5
-11
lines changed

app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ class Downloadable extends Widget implements TabInterface
4444
protected $blockId = 'downloadableInfo';
4545

4646
/**
47-
* Core registry
48-
*
4947
* @var Registry
5048
*/
5149
protected $_coreRegistry = null;

app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Links.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ class Links extends \Magento\Backend\Block\Template
3535
protected $_template = 'Magento_Downloadable::product/edit/downloadable/links.phtml';
3636

3737
/**
38-
* Downloadable file
39-
*
4038
* @var \Magento\Downloadable\Helper\File
4139
*/
4240
protected $_downloadableFile = null;
@@ -49,8 +47,6 @@ class Links extends \Magento\Backend\Block\Template
4947
protected $_coreFileStorageDb = null;
5048

5149
/**
52-
* Core registry
53-
*
5450
* @var \Magento\Framework\Registry
5551
*/
5652
protected $_coreRegistry;

app/code/Magento/Downloadable/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/Samples.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ class Samples extends \Magento\Backend\Block\Widget
2626
protected $_template = 'Magento_Downloadable::product/edit/downloadable/samples.phtml';
2727

2828
/**
29-
* Downloadable file
30-
*
3129
* @var \Magento\Downloadable\Helper\File
3230
*/
3331
protected $_downloadableFile = null;
@@ -40,8 +38,6 @@ class Samples extends \Magento\Backend\Block\Widget
4038
protected $_coreFileStorageDb = null;
4139

4240
/**
43-
* Core registry
44-
*
4541
* @var \Magento\Framework\Registry
4642
*/
4743
protected $_coreRegistry;

app/code/Magento/Downloadable/Controller/Adminhtml/Downloadable/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ abstract class File extends \Magento\Backend\App\Action
1515
*
1616
* @see _isAllowed()
1717
*/
18-
const ADMIN_RESOURCE = 'Magento_Catalog::products';
18+
public const ADMIN_RESOURCE = 'Magento_Catalog::products';
1919
}

app/code/Magento/Downloadable/Model/System/Config/Source/Contentdisposition.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
class Contentdisposition implements \Magento\Framework\Option\ArrayInterface
1212
{
1313
/**
14+
* Return option array
15+
*
1416
* @return array
1517
*/
1618
public function toOptionArray()

app/code/Magento/Downloadable/Model/System/Config/Source/Orderitemstatus.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
class Orderitemstatus implements \Magento\Framework\Option\ArrayInterface
1212
{
1313
/**
14+
* Return option array
15+
*
1416
* @return array
1517
*/
1618
public function toOptionArray()

0 commit comments

Comments
 (0)