Skip to content

Commit 0e6d111

Browse files
committed
MAGETWO-86984: Typo cleanup for app #13283
- Merge Pull Request #13283 from akiojalehto/magento2:fix/typos/batch - Merged commits: 1. 8b018bc 2. 629654b 3. a72f40c 4. 89a1c55 5. a83d603 6. 089bf02 7. 4d29ebd 8. afaf510 9. c304dfb 10. 6aec744 11. ac10bdb 12. e2a8fb1 13. bf80051 14. 603b61d 15. 4f4c30e 16. ceeeda8 17. 3313bd4 18. 17aec3e 19. 795fee6 20. b35dca6 21. f5f2d3d 22. c66fdd3 23. 17c28b8 24. aef3db7 25. 047d038 26. dc72851 27. 14f8d2d 28. 9d4ab4f 29. cfa32d3 30. 62a8228 31. 533b810 32. 964f0d1 33. fcb9ffc 34. ec2a52f 35. a18364e 36. 9203d32 37. bc8d5cb 38. c398fa5 39. 3755588 40. bb55f40 41. 39599bd 42. d1b5ca9 43. dbba195 44. 17b9462 45. 65d10bf 46. d9546dc 47. 99975ed 48. 8626a46 49. 20fecef 50. 8e60a1c 51. 63d548b 52. a8680c5 53. 0892dbc 54. 0cb62d3 55. 17156f6 56. 421b4dd 57. 67bf100 58. 8309e8b 59. b1d5548 60. 78dec58 61. d7a2e39 62. 8fef6b7 63. c1bc0a3 64. c43ef45 65. 06a5b17 66. b31e6bf 67. 03c519a 68. 371c15c 69. f2ef300 70. 0f8902d 71. 8e7251b 72. b9fe26e 73. 6ccd693 74. f9bd674 75. 7b3237b 76. fb6da89 77. 5f8ee52 78. bb4995c 79. 37fdec1 80. 4a13339 81. 2cb7026 82. 951739b 83. 5c30560
2 parents d1ebc31 + 5c30560 commit 0e6d111

File tree

140 files changed

+230
-227
lines changed

Some content is hidden

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

140 files changed

+230
-227
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/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

app/code/Magento/Catalog/Cron/DeleteOutdatedPriceValues.php

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

1414
/**
1515
* Cron operation is responsible for deleting all product prices on WEBSITE level
16-
* in case 'Catalog Price Scope' configuratoin parameter is set to GLOBAL.
16+
* in case 'Catalog Price Scope' configuration parameter is set to GLOBAL.
1717
*/
1818
class DeleteOutdatedPriceValues
1919
{

0 commit comments

Comments
 (0)