Skip to content

Commit ab55f51

Browse files
author
Oleksii Korshenko
authored
ENGCOM-5057: Fixed Typo Issue #22729
2 parents a054a71 + fa8c0ba commit ab55f51

File tree

13 files changed

+32
-24
lines changed

13 files changed

+32
-24
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Magento\Catalog\Pricing\Price\CustomOptionPriceInterface;
1616

1717
/**
18-
* Product aoptions section abstract block.
18+
* Product options section abstract block.
1919
*
2020
* @api
2121
* @since 100.0.2

app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/AttributeFilter.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public function prepareProductAttributes(Product $product, array $productData, a
4646
}
4747

4848
/**
49+
* Reset "Use Config Settings" to false in product data.
50+
*
4951
* @param Product $product
5052
* @param string $attributeCode
5153
* @param array $productData
@@ -62,6 +64,8 @@ private function prepareConfigData(Product $product, string $attributeCode, arra
6264
}
6365

6466
/**
67+
* Prepare default attribute data for product.
68+
*
6569
* @param array $attributeList
6670
* @param string $attributeCode
6771
* @param array $productData
@@ -73,7 +77,7 @@ private function prepareDefaultData(array $attributeList, string $attributeCode,
7377
/** @var \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute */
7478
$attribute = $attributeList[$attributeCode];
7579
$attributeType = $attribute->getBackendType();
76-
// For non-numberic types set the attributeValue to 'false' to trigger their removal from the db
80+
// For non-numeric types set the attributeValue to 'false' to trigger their removal from the db
7781
if ($attributeType === 'varchar' || $attributeType === 'text' || $attributeType === 'datetime') {
7882
$attribute->setIsRequired(false);
7983
$productData[$attributeCode] = false;
@@ -86,6 +90,8 @@ private function prepareDefaultData(array $attributeList, string $attributeCode,
8690
}
8791

8892
/**
93+
* Check, whether attribute should not be updated.
94+
*
8995
* @param Product $product
9096
* @param array $useDefaults
9197
* @param string $attribute

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateCategoryTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<click selector="{{AdminCategoryMainActionsSection.SaveButton}}" stepKey="saveCategory"/>
9797
<see selector="{{AdminCategoryBasicFieldSection.FieldError('uid')}}" userInput="This is a required field." stepKey="seeErrorMessage"/>
9898
<!-- Verify that the Layered navigation price step field has the required indicator -->
99-
<comment userInput="Check if Layered navigation price field has required indictor icon" stepKey="comment" />
99+
<comment userInput="Check if Layered navigation price field has required indicator icon" stepKey="comment" />
100100
<executeJS function="{{CategoryDisplaySettingsSection.RequiredFieldIndicator('filter_price_range')}}" stepKey="getRequiredFieldIndicator"/>
101101
<assertEquals expected='"*"' expectedType="string" actualType="variable" actual="getRequiredFieldIndicator" message="pass" stepKey="assertRequiredFieldIndicator1"/>
102102
</test>

app/code/Magento/Cms/Test/Mftf/Test/AdminAddVariableToWYSIWYGBlockTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
<waitForLoadingMaskToDisappear stepKey="waitForPageLoad3"/>
5050
<!--see Insert Variable button disabled-->
5151
<see selector="{{VariableSection.InsertVariableBtnDisabled}}" userInput="Insert Variable" stepKey="seeInsertWidgetDisabled" />
52-
<!--see Cancel button enabed-->
52+
<!--see Cancel button enabled-->
5353
<see selector="{{VariableSection.CancelBtnEnabled}}" userInput="Cancel" stepKey="seeCancelBtnEnabled" />
54-
<!--see 4 colums-->
54+
<!--see 4 columns-->
5555
<see selector="{{VariableSection.ColName('Select')}}" userInput="Select" stepKey="selectCol" />
5656
<see selector="{{VariableSection.ColName('Variable Name')}}" userInput="Variable Name" stepKey="variableCol" />
5757
<see selector="{{VariableSection.ColName('Type')}}" userInput="Type" stepKey="typeCol" />

app/code/Magento/Cms/Test/Mftf/Test/AdminAddVariableToWYSIWYGCMSTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
<waitForText userInput="Insert Variable" stepKey="waitForSlideOutOpen"/>
4444
<!--see Insert Variable button disabled-->
4545
<see selector="{{VariableSection.InsertVariableBtnDisabled}}" userInput="Insert Variable" stepKey="seeInsertWidgetDisabled" />
46-
<!--see Cancel button enabed-->
46+
<!--see Cancel button enabled-->
4747
<see selector="{{VariableSection.CancelBtnEnabled}}" userInput="Cancel" stepKey="seeCancelBtnEnabled" />
48-
<!--see 4 colums-->
48+
<!--see 4 columns-->
4949
<see selector="{{VariableSection.ColName('Select')}}" userInput="Select" stepKey="selectCol" />
5050
<see selector="{{VariableSection.ColName('Variable Name')}}" userInput="Variable Name" stepKey="variableCol" />
5151
<see selector="{{VariableSection.ColName('Type')}}" userInput="Type" stepKey="typeCol" />

app/code/Magento/Cms/Test/Mftf/Test/AdminAddWidgetToWYSIWYGWithCatalogCategoryLinkTypeTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<see userInput="Inserting a widget does not create a widget instance." stepKey="seeMessage" />
3838
<!--see Insert Widget button disabled-->
3939
<see selector="{{WidgetSection.InsertWidgetBtnDisabled}}" userInput="Insert Widget" stepKey="seeInsertWidgetDisabled" />
40-
<!--see Cancel button enabed-->
40+
<!--see Cancel button enabled-->
4141
<see selector="{{WidgetSection.CancelBtnEnabled}}" userInput="Cancel" stepKey="seeCancelBtnEnabled" />
4242
<!--Select "Widget Type"-->
4343
<selectOption selector="{{WidgetSection.WidgetType}}" userInput="Catalog Category Link" stepKey="selectCatalogCategoryLink" />

app/code/Magento/Cms/Test/Mftf/Test/AdminAddWidgetToWYSIWYGWithCatalogProductLinkTypeTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<waitForPageLoad stepKey="wait3"/>
4242
<!--see Insert Widget button disabled-->
4343
<see selector="{{WidgetSection.InsertWidgetBtnDisabled}}" userInput="Insert Widget" stepKey="seeInsertWidgetDisabled" />
44-
<!--see Cancel button enabed-->
44+
<!--see Cancel button enabled-->
4545
<see selector="{{WidgetSection.CancelBtnEnabled}}" userInput="Cancel" stepKey="seeCancelBtnEnabled" />
4646
<!--Select "Widget Type"-->
4747
<selectOption selector="{{WidgetSection.WidgetType}}" userInput="Catalog Product Link" stepKey="selectCatalogProductLink" />

app/code/Magento/ConfigurableProduct/Model/ResourceModel/Product/Type/Configurable/Attribute.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* Catalog super product attribute resource model
4-
*
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/
@@ -11,6 +9,9 @@
119
use Magento\Framework\DB\Adapter\AdapterInterface;
1210
use Magento\Store\Model\Store;
1311

12+
/**
13+
* Catalog super product attribute resource model.
14+
*/
1415
class Attribute extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
1516
{
1617
/**
@@ -52,7 +53,7 @@ public function __construct(
5253
}
5354

5455
/**
55-
* Inititalize connection and define tables
56+
* Initialize connection and define tables
5657
*
5758
* @return void
5859
*/
@@ -189,8 +190,7 @@ public function deleteAttributesByProductId($productId)
189190
}
190191

191192
/**
192-
* @param \Magento\Framework\Model\AbstractModel $object
193-
* @return $this
193+
* @inheritDoc
194194
*/
195195
protected function _afterLoad(\Magento\Framework\Model\AbstractModel $object)
196196
{

app/code/Magento/Newsletter/Test/Mftf/Test/AdminAddVariableToWYSIWYGNewsletterTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
<waitForLoadingMaskToDisappear stepKey="waitForPageLoad3"/>
5050
<!--see Insert Variable button disabled-->
5151
<see selector="{{VariableSection.InsertVariableBtnDisabled}}" userInput="Insert Variable" stepKey="seeInsertWidgetDisabled" />
52-
<!--see Cancel button enabed-->
52+
<!--see Cancel button enabled-->
5353
<see selector="{{VariableSection.CancelBtnEnabled}}" userInput="Cancel" stepKey="seeCancelBtnEnabled" />
54-
<!--see 4 colums-->
54+
<!--see 4 columns-->
5555
<see selector="{{VariableSection.ColName('Select')}}" userInput="Select" stepKey="selectCol" />
5656
<see selector="{{VariableSection.ColName('Variable Name')}}" userInput="Variable Name" stepKey="variableCol" />
5757
<see selector="{{VariableSection.ColName('Type')}}" userInput="Type" stepKey="typeCol" />

app/code/Magento/Paypal/Test/Unit/Model/AbstractConfigTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ public function testGetValue($key, $method, $returnMap, $expectedValue)
109109

110110
/**
111111
*
112-
* @case #1 This conf parameters must return AbstractConfig::PAYMENT_ACTION_SALE (isWppApiAvailabe == false)
113-
* @case #2 This conf parameters must return configValue (isWppApiAvailabe == true)
112+
* @case #1 This conf parameters must return AbstractConfig::PAYMENT_ACTION_SALE (isWppApiAvailable == false)
113+
* @case #2 This conf parameters must return configValue (isWppApiAvailable == true)
114114
* @case #3 This conf parameters must return configValue ($key != 'payment_action')
115115
* @case #4 This conf parameters must return configValue (configValue == 'Sale')
116116
* @case #5 This conf parameters must return configValue (shouldUseUnilateralPayments == false)

0 commit comments

Comments
 (0)