Skip to content

Commit 58bba82

Browse files
committed
Fixed static test failures
1 parent 40c7bd3 commit 58bba82

File tree

8 files changed

+12
-24
lines changed

8 files changed

+12
-24
lines changed

app/code/Magento/Persistent/Block/Form/Remember.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
class Remember extends \Magento\Framework\View\Element\Template
1515
{
1616
/**
17-
* Persistent data
18-
*
1917
* @var \Magento\Persistent\Helper\Data
2018
*/
2119
protected $_persistentData = null;

app/code/Magento/Persistent/Block/Header/Additional.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class Additional extends \Magento\Framework\View\Element\Html\Link
2525
protected $_persistentSessionHelper;
2626

2727
/**
28-
* Customer repository
29-
*
3028
* @var \Magento\Customer\Api\CustomerRepositoryInterface
3129
*/
3230
protected $customerRepository;

app/code/Magento/ProductAlert/Helper/Data.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ class Data extends \Magento\Framework\Url\Helper\Data
2323
protected $_product = null;
2424

2525
/**
26-
* Core registry
27-
*
2826
* @var \Magento\Framework\Registry
2927
*/
3028
protected $_coreRegistry = null;
@@ -83,6 +81,8 @@ public function setProduct($product)
8381
}
8482

8583
/**
84+
* Get store
85+
*
8686
* @return Store
8787
*/
8888
public function getStore()
@@ -91,6 +91,8 @@ public function getStore()
9191
}
9292

9393
/**
94+
* Get Save Url
95+
*
9496
* @param string $type
9597
* @return string
9698
*/

app/code/Magento/ProductAlert/Model/Email.php

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,13 @@
4444
*/
4545
class Email extends AbstractModel
4646
{
47-
const XML_PATH_EMAIL_PRICE_TEMPLATE = 'catalog/productalert/email_price_template';
47+
public const XML_PATH_EMAIL_PRICE_TEMPLATE = 'catalog/productalert/email_price_template';
4848

49-
const XML_PATH_EMAIL_STOCK_TEMPLATE = 'catalog/productalert/email_stock_template';
49+
public const XML_PATH_EMAIL_STOCK_TEMPLATE = 'catalog/productalert/email_stock_template';
5050

51-
const XML_PATH_EMAIL_IDENTITY = 'catalog/productalert/email_identity';
51+
public const XML_PATH_EMAIL_IDENTITY = 'catalog/productalert/email_identity';
5252

5353
/**
54-
* Type
55-
*
5654
* @var string
5755
*/
5856
protected $_type = 'price';
@@ -86,22 +84,16 @@ class Email extends AbstractModel
8684
protected $_stockProducts = [];
8785

8886
/**
89-
* Price block
90-
*
9187
* @var Price
9288
*/
9389
protected $_priceBlock;
9490

9591
/**
96-
* Stock block
97-
*
9892
* @var Stock
9993
*/
10094
protected $_stockBlock;
10195

10296
/**
103-
* Product alert data
104-
*
10597
* @var Data
10698
*/
10799
protected $_productAlertData = null;

app/code/Magento/ProductAlert/Model/ResourceModel/Stock/Customer/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class Collection extends \Magento\Customer\Model\ResourceModel\Customer\Collection
1212
{
1313
/**
14-
* join productalert stock data to customer collection
14+
* Join productalert stock data to customer collection
1515
*
1616
* @param int $productId
1717
* @param int $websiteId

app/code/Magento/ProductVideo/Block/Product/View/Gallery.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public function getVideoSettingsJson()
8585

8686
/**
8787
* Return media gallery for product options
88+
*
8889
* @return string
8990
* @since 100.1.0
9091
*/

app/code/Magento/Quote/Model/ResourceModel/Quote/Address/Collection.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
class Collection extends \Magento\Framework\Model\ResourceModel\Db\VersionControl\Collection
1212
{
1313
/**
14-
* Event prefix
15-
*
1614
* @var string
1715
*/
1816
protected $_eventPrefix = 'sales_quote_address_collection';
@@ -38,8 +36,7 @@ protected function _construct()
3836
}
3937

4038
/**
41-
* Setting filter on quote_id field but if quote_id is 0
42-
* we should exclude loading junk data from DB
39+
* Setting filter on quote_id field but if quote_id is 0 we should exclude loading junk data from DB
4340
*
4441
* @param int $quoteId
4542
* @return $this

app/code/Magento/Quote/Model/ResourceModel/Quote/Item.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function _construct()
2525
}
2626

2727
/**
28-
* {@inheritdoc}
28+
* @inheritdoc
2929
*/
3030
public function save(AbstractModel $object)
3131
{
@@ -61,7 +61,7 @@ private function hasOptionsChanged(AbstractModel $object): bool
6161
}
6262

6363
/**
64-
* {@inheritdoc}
64+
* @inheritdoc
6565
*/
6666
protected function prepareDataForUpdate($object)
6767
{

0 commit comments

Comments
 (0)