Skip to content

Commit a18963b

Browse files
committed
Fixed static test failures.
1 parent c4d1162 commit a18963b

File tree

10 files changed

+15
-23
lines changed

10 files changed

+15
-23
lines changed

app/code/Magento/Reports/Model/ResourceModel/Event/Collection.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
1717
{
1818
/**
19-
* Store Ids
20-
*
2119
* @var array
2220
*/
2321
protected $_storeIds;
@@ -34,8 +32,8 @@ protected function _construct()
3432

3533
/**
3634
* Add store ids filter
37-
* @codeCoverageIgnore
3835
*
36+
* @codeCoverageIgnore
3937
* @param array $storeIds
4038
* @return $this
4139
*/

app/code/Magento/Reports/Model/ResourceModel/Product/Index/Collection/AbstractCollection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
abstract class AbstractCollection extends \Magento\Catalog\Model\ResourceModel\Product\Collection
1919
{
2020
/**
21-
* Customer id
22-
*
2321
* @var null|int
2422
*/
2523
protected $_customerId = null;

app/code/Magento/Reports/Model/ResourceModel/Report/Product/Viewed.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ class Viewed extends \Magento\Sales\Model\ResourceModel\Report\AbstractReport
1818
/**
1919
* Aggregation key daily
2020
*/
21-
const AGGREGATION_DAILY = 'report_viewed_product_aggregated_daily';
21+
public const AGGREGATION_DAILY = 'report_viewed_product_aggregated_daily';
2222

2323
/**
2424
* Aggregation key monthly
2525
*/
26-
const AGGREGATION_MONTHLY = 'report_viewed_product_aggregated_monthly';
26+
public const AGGREGATION_MONTHLY = 'report_viewed_product_aggregated_monthly';
2727

2828
/**
2929
* Aggregation key yearly
3030
*/
31-
const AGGREGATION_YEARLY = 'report_viewed_product_aggregated_yearly';
31+
public const AGGREGATION_YEARLY = 'report_viewed_product_aggregated_yearly';
3232

3333
/**
3434
* Product resource instance

app/code/Magento/Reports/Model/ResourceModel/Wishlist/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ protected function _construct()
6262

6363
/**
6464
* Set wishlist table name
65-
* @codeCoverageIgnore
6665
*
66+
* @codeCoverageIgnore
6767
* @param string $value
6868
* @return $this
6969
*/
@@ -75,8 +75,8 @@ public function setWishlistTable($value)
7575

7676
/**
7777
* Retrieve wishlist table name
78-
* @codeCoverageIgnore
7978
*
79+
* @codeCoverageIgnore
8080
* @return string
8181
*/
8282
public function getWishlistTable()

app/code/Magento/Sales/Block/Adminhtml/Creditmemo.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
class Creditmemo extends \Magento\Backend\Block\Widget\Grid\Container
1212
{
1313
/**
14+
* Initialize
15+
*
1416
* @return void
1517
*/
1618
protected function _construct()

app/code/Magento/Sales/Block/Adminhtml/Items/Column/DefaultColumn.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
class DefaultColumn extends \Magento\Sales\Block\Adminhtml\Items\AbstractItems
2020
{
2121
/**
22-
* Option factory
23-
*
2422
* @var \Magento\Catalog\Model\Product\OptionFactory
2523
*/
2624
protected $_optionFactory;

app/code/Magento/Sales/Block/Adminhtml/Order/Comments/View.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
class View extends \Magento\Backend\Block\Template
1515
{
1616
/**
17-
* Sales data
18-
*
1917
* @var \Magento\Sales\Helper\Data
2018
*/
2119
protected $_salesData = null;
@@ -85,6 +83,8 @@ public function getSubmitUrl()
8583
}
8684

8785
/**
86+
* Can send comment email
87+
*
8888
* @return bool
8989
*/
9090
public function canSendCommentEmail()

app/code/Magento/Sales/Block/Adminhtml/Order/Create.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
class Create extends \Magento\Backend\Block\Widget\Form\Container
1515
{
1616
/**
17-
* Session quote
18-
*
1917
* @var \Magento\Backend\Model\Session\Quote
2018
*/
2119
protected $_sessionQuote;
@@ -85,7 +83,7 @@ protected function _construct()
8583
}
8684

8785
/**
88-
* {@inheritdoc}
86+
* @inheritdoc
8987
*
9088
* @return $this
9189
*/

app/code/Magento/Sales/Block/Adminhtml/Order/Create/AbstractCreate.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,11 @@
1717
abstract class AbstractCreate extends \Magento\Backend\Block\Widget
1818
{
1919
/**
20-
* Session quote
21-
*
2220
* @var \Magento\Backend\Model\Session\Quote
2321
*/
2422
protected $_sessionQuote;
2523

2624
/**
27-
* Order create
28-
*
2925
* @var \Magento\Sales\Model\AdminOrder\Create
3026
*/
3127
protected $_orderCreate;
@@ -132,6 +128,8 @@ public function formatPrice($value)
132128
}
133129

134130
/**
131+
* Get Item Price
132+
*
135133
* @param Product $product
136134
* @return string
137135
*/
@@ -163,6 +161,7 @@ public function convertPrice($value, $format = true)
163161
/**
164162
* If item is quote or wishlist we need to get product from it.
165163
*
164+
* phpcs:disable
166165
* @param $item
167166
*
168167
* @return Product

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Method/Form.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
class Form extends \Magento\Payment\Block\Form\Container
1515
{
1616
/**
17-
* Session quote
18-
*
1917
* @var \Magento\Backend\Model\Session\Quote
2018
*/
2119
protected $_sessionQuote;
@@ -105,6 +103,7 @@ public function getQuote()
105103
*
106104
* @return true
107105
* @deprecated 100.1.0 unused
106+
* @see nothing
108107
*/
109108
public function hasSsCardType()
110109
{

0 commit comments

Comments
 (0)