Skip to content

Commit 58c9919

Browse files
author
Stanislav Idolov
authored
ENGCOM-2401: Code improvement #16888
2 parents 90e2867 + 50595c5 commit 58c9919

File tree

9 files changed

+5
-9
lines changed

9 files changed

+5
-9
lines changed

app/code/Magento/Braintree/Setup/Patch/Data/ConvertSerializedDataToJson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Magento\Framework\Setup\Patch\PatchVersionInterface;
1313

1414
/**
15-
* Convert data fro php native serialized data to JSON.
15+
* Convert data from php native serialized data to JSON.
1616
*/
1717
class ConvertSerializedDataToJson implements DataPatchInterface, PatchVersionInterface
1818
{

app/code/Magento/Bundle/Test/Unit/Pricing/Price/BundleSelectionPriceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ protected function setupSelectionPrice($useRegularPrice = false)
121121
}
122122

123123
/**
124-
* test fro method getValue with dynamic productType
124+
* Test for method getValue with dynamic productType
125125
*
126126
* @param bool $useRegularPrice
127127
* @dataProvider useRegularPriceDataProvider

app/code/Magento/Catalog/etc/adminhtml/system.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
<clone_fields>1</clone_fields>
9999
<clone_model>Magento\Catalog\Model\Config\CatalogClone\Media\Image</clone_model>
100100
<field id="placeholder" type="image" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
101-
<label></label>
102101
<backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
103102
<upload_dir config="system/filesystem/media" scope_info="1">catalog/product/placeholder</upload_dir>
104103
<base_url type="media" scope_info="1">catalog/product/placeholder</base_url>

app/code/Magento/Config/Test/Unit/Model/_files/system_2.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
<config_path>section/group/field4</config_path>
7777
</field>
7878
<field id="field_5" translate="label" showInWebsite="1" type="text">
79-
<label></label>
8079
</field>
8180
</group>
8281
<group id="group_4" type="text" showInDefault="1" showInWebsite="1" showInStore="1">

app/code/Magento/Paypal/etc/adminhtml/system/express_checkout.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@
198198
<attribute type="shared">1</attribute>
199199
</field>
200200
<field id="bml_wizard" translate="button_label" sortOrder="15" showInDefault="1" showInWebsite="1">
201-
<label></label>
202201
<button_label>Get Publisher ID from PayPal</button_label>
203202
<button_url><![CDATA[https:/financing.paypal.com/ppfinportal/cart/index?dcp=4eff8563b9cc505e0b9afaff3256705081553c79]]></button_url>
204203
<frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\BmlApiWizard</frontend_model>

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ define([
4747
var buttons = controlButtonArea.childElements();
4848
for (var i = 0; i < buttons.length; i++) {
4949
if (buttons[i].innerHTML.include(button.label)) {
50-
return ;
50+
return;
5151
}
5252
}
5353
button.insertIn(controlButtonArea, 'top');

dev/tests/integration/testsuite/Magento/Paypal/Model/Config/Structure/Reader/_files/expected/config.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,6 @@
767767
<attribute type="shared">1</attribute>
768768
</field>
769769
<field id="bml_wizard" translate="button_label" sortOrder="15" showInDefault="1" showInWebsite="1">
770-
<label></label>
771770
<button_label>Get Publisher ID from PayPal</button_label>
772771
<button_url><![CDATA[https:/financing.paypal.com/ppfinportal/cart/index?dcp=4eff8563b9cc505e0b9afaff3256705081553c79]]></button_url>
773772
<frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\BmlApiWizard</frontend_model>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The GraphQlSchemaStitching library contains functionality for processing GraphQl SDL schema, to be used by Graphql library to build objects fro the data generated.
1+
The GraphQlSchemaStitching library contains functionality for processing GraphQl SDL schema, to be used by Graphql library to build objects from the data generated.

lib/web/mage/utils/wrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ define([
4545
return {
4646

4747
/**
48-
* Wraps target function with a specified wrapper, which will recieve
48+
* Wraps target function with a specified wrapper, which will receive
4949
* reference to the original function as a first argument.
5050
*
5151
* @param {Function} target - Function to be wrapped.

0 commit comments

Comments
 (0)