Skip to content

Commit 67f6c81

Browse files
committed
Fix static tests.
1 parent 08347a1 commit 67f6c81

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

app/code/Magento/Catalog/Api/ProductRenderListInterface.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@
44
* Copyright © Magento, Inc. All rights reserved.
55
* See COPYING.txt for license details.
66
*/
7+
78
namespace Magento\Catalog\Api;
89

910
/**
10-
* Interface which provides product renders information for products
11+
* Interface which provides product renders information for products.
12+
*
1113
* @api
1214
* @since 101.1.0
1315
*/
1416
interface ProductRenderListInterface
1517
{
1618
/**
17-
* Collect and retrieve the list of product render info
18-
* This info contains raw prices and formatted prices, product name, stock status, store_id, etc
19+
* Collect and retrieve the list of product render info.
20+
*
21+
* This info contains raw prices and formatted prices, product name, stock status, store_id, etc.
22+
*
1923
* @see \Magento\Catalog\Api\Data\ProductRenderInfoDtoInterface
2024
*
2125
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria

app/code/Magento/Catalog/Block/Product/View/Options/AbstractOptions.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@
99
*
1010
* @author Magento Core Team <core@magentocommerce.com>
1111
*/
12+
1213
namespace Magento\Catalog\Block\Product\View\Options;
1314

1415
use Magento\Catalog\Pricing\Price\CustomOptionPriceInterface;
1516

1617
/**
18+
* Product aoptions section abstract block.
19+
*
1720
* @api
1821
* @since 100.0.2
1922
*/
@@ -46,7 +49,7 @@ abstract class AbstractOptions extends \Magento\Framework\View\Element\Template
4649
/**
4750
* @param \Magento\Framework\View\Element\Template\Context $context
4851
* @param \Magento\Framework\Pricing\Helper\Data $pricingHelper
49-
* @param \Magento\Catalog\Helper\Data $catalogData,
52+
* @param \Magento\Catalog\Helper\Data $catalogData
5053
* @param array $data
5154
*/
5255
public function __construct(
@@ -123,6 +126,8 @@ public function getFormattedPrice()
123126
}
124127

125128
/**
129+
* Retrieve formatted price.
130+
*
126131
* @return string
127132
*
128133
* @deprecated

app/code/Magento/Checkout/Block/Cart/Totals.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\Checkout\Block\Cart;
78

89
use Magento\Framework\View\Element\BlockInterface;
910
use Magento\Checkout\Block\Checkout\LayoutProcessorInterface;
1011

1112
/**
13+
* Totals cart block.
14+
*
1215
* @api
1316
*/
1417
class Totals extends \Magento\Checkout\Block\Cart\AbstractCart
@@ -62,6 +65,8 @@ public function __construct(
6265
}
6366

6467
/**
68+
* Retrieve encoded js layout.
69+
*
6570
* @return string
6671
*/
6772
public function getJsLayout()
@@ -74,6 +79,8 @@ public function getJsLayout()
7479
}
7580

7681
/**
82+
* Retrieve totals from cache.
83+
*
7784
* @return array
7885
*/
7986
public function getTotals()
@@ -85,6 +92,8 @@ public function getTotals()
8592
}
8693

8794
/**
95+
* Set totals to cache.
96+
*
8897
* @param array $value
8998
* @return $this
9099
* @codeCoverageIgnore
@@ -96,6 +105,8 @@ public function setTotals($value)
96105
}
97106

98107
/**
108+
* Create totals block and set totals.
109+
*
99110
* @param string $code
100111
* @return BlockInterface
101112
*/
@@ -121,6 +132,8 @@ protected function _getTotalRenderer($code)
121132
}
122133

123134
/**
135+
* Get totals html.
136+
*
124137
* @param mixed $total
125138
* @param int|null $area
126139
* @param int $colspan

app/code/Magento/Customer/Model/Attribute/Data/Postcode.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\Customer\Model\Attribute\Data;
78

89
use Magento\Directory\Helper\Data as DirectoryHelper;
@@ -13,7 +14,8 @@
1314
use Magento\Framework\Stdlib\DateTime\TimezoneInterface as MagentoTimezone;
1415

1516
/**
16-
* Customer Address Postal/Zip Code Attribute Data Model
17+
* Customer Address Postal/Zip Code Attribute Data Model.
18+
*
1719
* This Data Model Has to Be Set Up in additional EAV attribute table
1820
*/
1921
class Postcode extends \Magento\Eav\Model\Attribute\Data\AbstractData
@@ -40,7 +42,8 @@ public function __construct(
4042
}
4143

4244
/**
43-
* Validate postal/zip code
45+
* Validate postal/zip code.
46+
*
4447
* Return true and skip validation if country zip code is optional
4548
*
4649
* @param array|string $value

dev/tests/integration/testsuite/Magento/Catalog/Model/Product/Type/PriceWithDimensionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
declare(strict_types=1);
78

89
namespace Magento\Catalog\Model\Product\Type;

0 commit comments

Comments
 (0)