Skip to content

Commit bc8020a

Browse files
author
Stanislav Idolov
authored
ENGCOM-2238: Removed double occurrences from Magento modules. #16644
2 parents e51e662 + bfe7b5d commit bc8020a

File tree

15 files changed

+17
-17
lines changed

15 files changed

+17
-17
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
@@ -143,7 +143,7 @@ public function getMainTable(int $storeId)
143143
public function createTablesForStore(int $storeId)
144144
{
145145
$mainTableName = $this->getMainTable($storeId);
146-
//Create index table for store based on on main replica table
146+
//Create index table for store based on main replica table
147147
//Using main replica table is necessary for backward capability and TableResolver plugin work
148148
$this->createTable(
149149
$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/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/Indexer/Model/ProcessManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function execute($userFunctions)
5656
}
5757

5858
/**
59-
* Execute user functions in in singleThreads mode
59+
* Execute user functions in singleThreads mode
6060
*
6161
* @param \Traversable $userFunctions
6262
*/
@@ -68,7 +68,7 @@ private function simpleThreadExecute($userFunctions)
6868
}
6969

7070
/**
71-
* Execute user functions in in multiThreads mode
71+
* Execute user functions in multiThreads mode
7272
*
7373
* @param \Traversable $userFunctions
7474
* @SuppressWarnings(PHPMD.UnusedLocalVariable)

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
*/

dev/tests/functional/tests/app/Magento/Downloadable/Test/Block/Catalog/Product/View/Links.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class Links extends Block
1919
{
2020
/**
21-
* Selector title for for links
21+
* Selector title for links
2222
*
2323
* @var string
2424
*/

dev/tests/functional/tests/app/Magento/Setup/Test/Constraint/Extension/AssertVersionOnGrid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AssertVersionOnGrid extends AbstractConstraint
2323
/*#@-*/
2424

2525
/**
26-
* Assert that that version of extension is correct.
26+
* Assert that version of extension is correct.
2727
*
2828
* @param Grid $grid
2929
* @param Extension $extension

dev/tests/functional/tests/app/Magento/Widget/Test/Constraint/AssertWidgetRecentlyViewedProducts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Magento\Mtf\Constraint\AbstractConstraint;
1717

1818
/**
19-
* Check that that widget with type Recently Viewed Products is present on category page
19+
* Check that widget with type Recently Viewed Products is present on category page
2020
*/
2121
class AssertWidgetRecentlyViewedProducts extends AbstractConstraint
2222
{

dev/tests/integration/testsuite/Magento/ConfigurableProduct/Pricing/Render/FinalPriceBox/RenderingBasedOnIsProductListFlagTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function testRenderingByDefault()
103103
* Special price should be valid
104104
* FinalPriceBox::hasSpecialPrice should not be call
105105
* Regular price for Configurable product should be rendered for is_product_list = false (product page), but not be
106-
* for for is_product_list = true (list of products)
106+
* for is_product_list = true (list of products)
107107
*
108108
* @param bool $flag
109109
* @param int|bool $count

lib/internal/Magento/Framework/Console/QuestionPerformer/YesNo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function execute(array $messages, InputInterface $input, OutputInterface
6565
}
6666

6767
/**
68-
* Creates Question object from from given array of messages.
68+
* Creates Question object from given array of messages.
6969
*
7070
* @param string[] $messages array of messages
7171
* @return Question

lib/internal/Magento/Framework/DB/TemporaryTableService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/**
1212
* Class TemporaryTableService creates a temporary table in mysql from a Magento\Framework\DB\Select.
13-
* Use this class to create an index with that that you want to query later for quick data access
13+
* Use this class to create an index with that you want to query later for quick data access
1414
*
1515
* @api
1616
* @since 100.2.0

lib/web/prototype/windows/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ See samples/index.html for more details and go on my web page : http://prototype
133133
- Add Windows.focusedWindow and Windows.closeAll
134134
- Add name to iframe in case of url window
135135
- Clean up code, use _ for private function (just name convention)
136-
- Add Dialog.info function, usefull for for submit or notice info (in Rails)
136+
- Add Dialog.info function, usefull for submit or notice info (in Rails)
137137
- Add minimize and maximize buttons
138138
- Add alert_lite.css without any images
139139
- Debug

0 commit comments

Comments
 (0)