Skip to content

Commit 372451e

Browse files
author
Robert He
committed
Merge branch '2.3-develop' into MAGETWO-70174-data-migration
2 parents 85e2a32 + 03b6a61 commit 372451e

File tree

171 files changed

+1051
-313
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+1051
-313
lines changed

app/code/Magento/AdminNotification/Model/ResourceModel/System/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class Message extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
1313
{
1414
/**
15-
* Flag that notifies whether Primary key of table is auto-incremeted
15+
* Flag that notifies whether Primary key of table is auto-incremented
1616
*
1717
* @var bool
1818
*/

app/code/Magento/Backend/Test/Unit/Block/Cache/AdditionalTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class AdditionalTest extends \PHPUnit\Framework\TestCase
1111
/**
1212
* @var \Magento\Backend\Block\Cache\Additional
1313
*/
14-
private $additonalBlock;
14+
private $additionalBlock;
1515

1616
/**
1717
* @var \Magento\Framework\UrlInterface|\PHPUnit_Framework_MockObject_MockObject
@@ -39,7 +39,7 @@ protected function setUp()
3939
]
4040
);
4141

42-
$this->additonalBlock = $objectHelper->getObject(
42+
$this->additionalBlock = $objectHelper->getObject(
4343
\Magento\Backend\Block\Cache\Additional::class,
4444
['context' => $context]
4545
);
@@ -52,7 +52,7 @@ public function testGetCleanImagesUrl()
5252
->method('getUrl')
5353
->with('*/*/cleanImages')
5454
->will($this->returnValue($expectedUrl));
55-
$this->assertEquals($expectedUrl, $this->additonalBlock->getCleanImagesUrl());
55+
$this->assertEquals($expectedUrl, $this->additionalBlock->getCleanImagesUrl());
5656
}
5757

5858
public function testGetCleanMediaUrl()
@@ -62,7 +62,7 @@ public function testGetCleanMediaUrl()
6262
->method('getUrl')
6363
->with('*/*/cleanMedia')
6464
->will($this->returnValue($expectedUrl));
65-
$this->assertEquals($expectedUrl, $this->additonalBlock->getCleanMediaUrl());
65+
$this->assertEquals($expectedUrl, $this->additionalBlock->getCleanMediaUrl());
6666
}
6767

6868
public function testGetCleanStaticFiles()
@@ -72,7 +72,7 @@ public function testGetCleanStaticFiles()
7272
->method('getUrl')
7373
->with('*/*/cleanStaticFiles')
7474
->will($this->returnValue($expectedUrl));
75-
$this->assertEquals($expectedUrl, $this->additonalBlock->getCleanStaticFilesUrl());
75+
$this->assertEquals($expectedUrl, $this->additionalBlock->getCleanStaticFilesUrl());
7676
}
7777

7878
/**
@@ -85,7 +85,7 @@ public function testIsInProductionMode($mode, $expected)
8585
$this->appStateMock->expects($this->once())
8686
->method('getMode')
8787
->willReturn($mode);
88-
$this->assertEquals($expected, $this->additonalBlock->isInProductionMode());
88+
$this->assertEquals($expected, $this->additionalBlock->isInProductionMode());
8989
}
9090

9191
public function isInProductionModeDataProvider()

app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,21 @@ protected function populateSelectionTemplate($selection, $optionId, $parentId, $
318318
return $populatedSelection;
319319
}
320320

321+
/**
322+
* @deprecated Misspelled method
323+
* @see retrieveProductsByCachedSkus
324+
*/
325+
protected function retrieveProducsByCachedSkus()
326+
{
327+
return $this->retrieveProductsByCachedSkus();
328+
}
329+
321330
/**
322331
* Retrieve mapping between skus and products.
323332
*
324333
* @return \Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType
325334
*/
326-
protected function retrieveProducsByCachedSkus()
335+
protected function retrieveProductsByCachedSkus()
327336
{
328337
$this->_cachedSkuToProducts = $this->connection->fetchPairs(
329338
$this->connection->select()->from(
@@ -368,7 +377,7 @@ public function saveData()
368377
$this->parseSelections($rowData, $productData[$this->getProductEntityLinkField()]);
369378
}
370379
if (!empty($this->_cachedOptions)) {
371-
$this->retrieveProducsByCachedSkus();
380+
$this->retrieveProductsByCachedSkus();
372381
$this->populateExistingOptions();
373382
$this->insertOptions();
374383
$this->insertSelections();

app/code/Magento/Catalog/Api/Data/ProductRender/PriceInfoInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function setMaxPrice($maxPrice);
5151

5252
/**
5353
* Set max regular price
54-
* Max regular price is the same, as maximum price, except of excluding calculating special price and catalogules
54+
* Max regular price is the same, as maximum price, except of excluding calculating special price and catalog rules
5555
* in it
5656
*
5757
* @param float $maxRegularPrice

app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ protected function _prepareForm()
3535
$form = $this->getForm();
3636
/* @var $fieldset \Magento\Framework\Data\Form\Element\Fieldset */
3737
$fieldset = $form->getElement('base_fieldset');
38-
$fiedsToRemove = ['attribute_code', 'is_unique', 'frontend_class'];
38+
$fieldsToRemove = ['attribute_code', 'is_unique', 'frontend_class'];
3939

4040
foreach ($fieldset->getElements() as $element) {
4141
/** @var \Magento\Framework\Data\Form\AbstractForm $element */
4242
if (substr($element->getId(), 0, strlen('default_value')) == 'default_value') {
43-
$fiedsToRemove[] = $element->getId();
43+
$fieldsToRemove[] = $element->getId();
4444
}
4545
}
46-
foreach ($fiedsToRemove as $id) {
46+
foreach ($fieldsToRemove as $id) {
4747
$fieldset->removeField($id);
4848
}
4949

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function getProduct()
8080
}
8181

8282
/**
83-
* Get store object of curently edited product
83+
* Get store object of currently edited product
8484
*
8585
* @return \Magento\Store\Model\Store
8686
*/

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Upsell.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected function _construct()
104104
}
105105

106106
/**
107-
* Retirve currently edited product model
107+
* Retrieve currently edited product model
108108
*
109109
* @return \Magento\Catalog\Model\Product
110110
*/
@@ -315,7 +315,7 @@ protected function _prepareColumns()
315315
}
316316

317317
/**
318-
* Rerieve grid URL
318+
* Retrieve grid URL
319319
*
320320
* @return string
321321
*/

app/code/Magento/Catalog/Block/Navigation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function getCurrentChildCategories()
195195
}
196196

197197
/**
198-
* Checkin activity of category
198+
* Check activity of category
199199
*
200200
* @param \Magento\Framework\DataObject $category
201201
* @return bool

app/code/Magento/Catalog/Block/Widget/RecentlyCompared.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Magento\Ui\Block\Wrapper;
99

1010
/**
11-
* Dynamicly creates recently compared widget ui component, using information
11+
* Dynamically creates recently compared widget ui component, using information
1212
* from widget instance and Catalog/widget.xml
1313
*/
1414
class RecentlyCompared extends Wrapper implements \Magento\Widget\Block\BlockInterface

app/code/Magento/Catalog/Block/Widget/RecentlyViewed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Magento\Ui\Block\Wrapper;
99

1010
/**
11-
* Dynamicly creates recently viewed widget ui component, using information
11+
* Dynamically creates recently viewed widget ui component, using information
1212
* from widget instance and Catalog/widget.xml
1313
*/
1414
class RecentlyViewed extends Wrapper implements \Magento\Widget\Block\BlockInterface

0 commit comments

Comments
 (0)