Skip to content

Commit c249171

Browse files
ENGCOM-2508: Removed double occurrences from files #17080
- Merge Pull Request #17080 from mage2pratik/magento2:fix-double-occurrence-2 - Merged commits: 1. 6a02ff6 2. e8c3fec 3. ab96cb3
2 parents a02fa7c + ab96cb3 commit c249171

File tree

26 files changed

+29
-29
lines changed

26 files changed

+29
-29
lines changed

app/code/Magento/Catalog/Model/Indexer/Category/Product/TableMaintainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function getMainTable(int $storeId)
139139
public function createTablesForStore(int $storeId)
140140
{
141141
$mainTableName = $this->getMainTable($storeId);
142-
//Create index table for store based on on main replica table
142+
//Create index table for store based on main replica table
143143
//Using main replica table is necessary for backward capability and TableResolver plugin work
144144
$this->createTable(
145145
$this->getTable(AbstractAction::MAIN_INDEX_TABLE . $this->additionalTableSuffix),

app/code/Magento/Catalog/Model/Layer/Filter/AbstractFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ protected function _createItem($label, $value, $count = 0)
241241
}
242242

243243
/**
244-
* Get all product ids from from collection with applied filters
244+
* Get all product ids from collection with applied filters
245245
*
246246
* @return array
247247
*/

app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ protected function _saveValueTitles(\Magento\Framework\Model\AbstractModel $obje
307307
}
308308

309309
/**
310-
* Get first col from from first row for option table
310+
* Get first col from first row for option table
311311
*
312312
* @param string $tableName
313313
* @param int $optionId

app/code/Magento/Catalog/Model/ResourceModel/Product/Option/Value.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ protected function _saveValueTitles(AbstractModel $object)
300300
}
301301

302302
/**
303-
* Get first col from from first row for option table
303+
* Get first col from first row for option table
304304
*
305305
* @param string $tableName
306306
* @param int $optionId

app/code/Magento/Catalog/view/adminhtml/web/js/product/weight-handler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ define([
6767
},
6868

6969
/**
70-
* Has weight swither
70+
* Has weight switcher
7171
* @returns {*}
7272
*/
73-
hasWeightSwither: function () {
73+
hasWeightSwitcher: function () {
7474
return this.$weightSwitcher().is(':visible');
7575
},
7676

@@ -107,7 +107,7 @@ define([
107107
'Magento_Catalog/js/product/weight-handler': function () {
108108
this.bindAll();
109109

110-
if (this.hasWeightSwither()) {
110+
if (this.hasWeightSwitcher()) {
111111
this.switchWeight();
112112
}
113113
},

app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/CatalogPriceRuleActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<waitForPageLoad stepKey="waitForPriceRulePage"/>
1919
<click stepKey="addNewRule" selector="{{AdminGridMainControls.add}}"/>
2020

21-
<!-- Fill the form according the the attributes of the entity -->
21+
<!-- Fill the form according the attributes of the entity -->
2222
<fillField stepKey="fillName" selector="{{AdminNewCatalogPriceRule.ruleName}}" userInput="{{catalogRule.name}}"/>
2323
<fillField stepKey="fillDescription" selector="{{AdminNewCatalogPriceRule.description}}" userInput="{{catalogRule.description}}"/>
2424
<selectOption stepKey="selectSite" selector="{{AdminNewCatalogPriceRule.websites}}" userInput="{{catalogRule.website_ids[0]}}"/>

app/code/Magento/Customer/Controller/Adminhtml/Index/AbstractMassAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function execute()
7373

7474
/**
7575
* Return component referer url
76-
* TODO: Technical dept referer url should be implement as a part of Action configuration in in appropriate way
76+
* TODO: Technical dept referer url should be implement as a part of Action configuration in appropriate way
7777
*
7878
* @return null|string
7979
*/

app/code/Magento/Downloadable/Model/ResourceModel/Link/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function addProductToFilter($product)
8787
}
8888

8989
/**
90-
* Retrieve title for for current store
90+
* Retrieve title for current store
9191
*
9292
* @param int $storeId
9393
* @return $this
@@ -113,7 +113,7 @@ public function addTitleToResult($storeId = 0)
113113
}
114114

115115
/**
116-
* Retrieve price for for current website
116+
* Retrieve price for current website
117117
*
118118
* @param int $websiteId
119119
* @return $this

app/code/Magento/ReleaseNotification/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Each modal page can have the following optional content:
4646

4747
The Sub Heading section is ideally used on the first modal page as a way to describe one to three highlighted features that will be presented in greater detail on the following modal pages. It is recommended to use the Main Content -> Text Body and Bullet Point lists as the paragraph and list content displayed on a highlighted feature's detail modal page.
4848

49-
A clickable link to internal or external content in any text field will be created by using the following format and opened in a new browser tab. Providing the URL for the link followed by the the text to be displayed for that link in brackets will cause a clickable link to be created. The text between the brackets [text] will be the text that the clickable link shows.
49+
A clickable link to internal or external content in any text field will be created by using the following format and opened in a new browser tab. Providing the URL for the link followed by the text to be displayed for that link in brackets will cause a clickable link to be created. The text between the brackets [text] will be the text that the clickable link shows.
5050

5151
### Link Format Example:
5252

app/code/Magento/Sales/Controller/Adminhtml/Order/AbstractMassAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function execute()
7070

7171
/**
7272
* Return component referrer url
73-
* TODO: Technical dept referrer url should be implement as a part of Action configuration in in appropriate way
73+
* TODO: Technical dept referrer url should be implement as a part of Action configuration in appropriate way
7474
*
7575
* @return null|string
7676
*/

0 commit comments

Comments
 (0)