Skip to content

Commit 393d5f9

Browse files
authored
ENGCOM-4410: correct spelling #21534
2 parents 51b6897 + 5f103bc commit 393d5f9

File tree

10 files changed

+41
-15
lines changed

10 files changed

+41
-15
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 formated 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: 7 additions & 2 deletions
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
@@ -134,7 +139,7 @@ public function getFormatedPrice()
134139
}
135140

136141
/**
137-
* Return formated price
142+
* Return formatted price
138143
*
139144
* @param array $value
140145
* @param bool $flag

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

Lines changed: 14 additions & 1 deletion
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
@@ -177,7 +190,7 @@ public function needDisplayBaseGrandtotal()
177190
}
178191

179192
/**
180-
* Get formated in base currency base grand total value
193+
* Get formatted in base currency base grand total value
181194
*
182195
* @return string
183196
*/

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

Lines changed: 6 additions & 3 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
@@ -104,7 +107,7 @@ public function restoreValue($value)
104107
}
105108

106109
/**
107-
* Return formated attribute value from entity model
110+
* Return formatted attribute value from entity model
108111
*
109112
* @param string $format
110113
* @return string|array

app/code/Magento/Tinymce3/view/base/web/tiny_mce/classes/Formatter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1970,7 +1970,7 @@
19701970
node.appendChild(dom.doc.createTextNode(invisibleChar));
19711971
node = node.firstChild;
19721972

1973-
// Insert caret container after the formated node
1973+
// Insert caret container after the formatted node
19741974
dom.insertAfter(caretContainer, formatNode);
19751975

19761976
// Move selection to text node

app/code/Magento/Tinymce3/view/base/web/tiny_mce/tiny_mce_jquery_src.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15796,7 +15796,7 @@ tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container', {
1579615796
node.appendChild(dom.doc.createTextNode(invisibleChar));
1579715797
node = node.firstChild;
1579815798

15799-
// Insert caret container after the formated node
15799+
// Insert caret container after the formatted node
1580015800
dom.insertAfter(caretContainer, formatNode);
1580115801

1580215802
// Move selection to text node

app/code/Magento/Tinymce3/view/base/web/tiny_mce/tiny_mce_prototype_src.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16646,7 +16646,7 @@ tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container', {
1664616646
node.appendChild(dom.doc.createTextNode(invisibleChar));
1664716647
node = node.firstChild;
1664816648

16649-
// Insert caret container after the formated node
16649+
// Insert caret container after the formatted node
1665016650
dom.insertAfter(caretContainer, formatNode);
1665116651

1665216652
// Move selection to text node

app/code/Magento/Tinymce3/view/base/web/tiny_mce/tiny_mce_src.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16620,7 +16620,7 @@ tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container', {
1662016620
node.appendChild(dom.doc.createTextNode(invisibleChar));
1662116621
node = node.firstChild;
1662216622

16623-
// Insert caret container after the formated node
16623+
// Insert caret container after the formatted node
1662416624
dom.insertAfter(caretContainer, formatNode);
1662516625

1662616626
// Move selection to text node

app/code/Magento/Wishlist/Block/AbstractBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function hasDescription($item)
228228
}
229229

230230
/**
231-
* Retrieve formated Date
231+
* Retrieve formatted Date
232232
*
233233
* @param string $date
234234
* @deprecated

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

Lines changed: 2 additions & 1 deletion
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;
@@ -108,7 +109,7 @@ public function testGetFinalPrice()
108109
}
109110

110111
/**
111-
* Get formated price
112+
* Get formatted price
112113
*/
113114
public function testGetFormatedPrice()
114115
{

0 commit comments

Comments
 (0)