Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit a0c9d39

Browse files
authored
Merge pull request #8103 from magento/small-changes
Small changes
2 parents 89f2908 + 54b49d6 commit a0c9d39

File tree

16 files changed

+126
-24
lines changed

16 files changed

+126
-24
lines changed

src/_data/codebase/v2_4/mrg/b2b/RequisitionList.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ last_modified_at: '2017-02-15 17:02:23 +0300'
77
content: "## Overview\n\nThe Magento_RequisitionList module allows a customer to create
88
multiple lists of frequently-purchased items and use those lists for order placement.
99
This feature is available for both logged-in users and guests.\n \nRequisitionList
10-
functionality is similiar to wish lists, but it has the following differences: \n\n*
10+
functionality is similar to wish lists, but it has the following differences: \n\n*
1111
A requisition list is not purged after sending items to the shopping cart. It can
1212
be used to place multiple orders.\n\n* The UI for requisition lists has been modified
1313
to a compact view in order to display large number of items. \n\nThe merchant can

src/_data/whats-new.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ entries:
526526
contributor: jeff-matthews
527527
profile: https://github.com/jeff-matthews
528528
- description: Standardized [release terminology](https://devdocs.magento.com/release/policy/)
529-
related to patch releases, hotfixes, invdividual fixes, and custom patches.
529+
related to patch releases, hotfixes, individual fixes, and custom patches.
530530
versions: 2.4.0
531531
type: Major Update
532532
date: July 27, 2020

src/cloud/cdn/fastly-vcl-allowlist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ After reviewing and updating the code for your environment, use either of the fo
114114
- Add the **VCL** snippet content:
115115

116116
```conf
117-
if ((req.url ~ "^/admin") && !(client.ip ~ allowlist) && !req.http.Fastly-FF) { error 403 "Forbidden"}
117+
if ((req.url ~ "^/admin") && !(client.ip ~ allowlist) && !req.http.Fastly-FF) { error 403 "Forbidden";}
118118
```
119119
120120
1. Click **Create** to generate the VCL snippet file with the name pattern `type_priority_name.vcl`, for example `recv_5_allowlist.vcl`

src/cloud/project/project-patch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ When you update `{{ site.data.var.ct }}` or the {{ site.data.var.mcp-prod }} pac
2929

3030
{% include cloud/note-upgrade.md %}
3131

32-
The Magento Quality Patches package is a dependency for the {{ site.data.var.mcp-prod }} and {{site.data.var.ct}} packages. To apply the latest patches, you must have [the latest version of {{ site.data.var.ct }}]({{site.baseurl}}/cloud/project/ece-tools-update.html) installed.
32+
The Magento Quality Patches package is a dependency for the {{ site.data.var.mcp-prod }} and {{site.data.var.ct}} packages. To apply the latest patches, you must have [the latest version of {{ site.data.var.ct }}]({{site.baseurl}}/cloud/project/ece-tools-update.html) installed. The minimum required version of {{site.data.var.ct}} is 2002.1.2.
3333

3434
## View available patches and status
3535

src/guides/v2.3/config-guide/deployment/pipeline/technical-details.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,4 +309,4 @@ Next steps
309309
* [Set up your development systems]({{ page.baseurl }}/config-guide/deployment/pipeline/development-system.html)
310310
* [Set up your build system]({{ page.baseurl }}/config-guide/deployment/pipeline/build-system.html)
311311
* [Set up your production system]({{ page.baseurl }}/config-guide/deployment/pipeline/production-system.html)
312-
* [config-cli-config-set]: {{ page.baseurl }}/config-guide/cli/config-cli-subcommands-config-mgmt-set.html#config-cli-config-set
312+
* [Set configuration values]({{ page.baseurl }}/config-guide/cli/config-cli-subcommands-config-mgmt-set.html#config-cli-config-set)

src/guides/v2.3/config-guide/redis/redis-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ where
5050
|session-save-redis-sentinel-master|sentinel_master|Redis Sentinel master name|empty|
5151
|session-save-redis-sentinel-servers|sentinel_servers|List of Redis Sentinel servers, comma separated|empty|
5252
|session-save-redis-sentinel-verify-master|sentinel_verify_master|Verify Redis Sentinel master status flag|0 (false)|
53-
|session-save-redis-sentinel-connect-retires|sentinel_connect_retries|Connection retries for sentinels|5|
53+
|session-save-redis-sentinel-connect-retries|sentinel_connect_retries|Connection retries for sentinels|5|
5454

5555
### Example command
5656

src/guides/v2.3/extension-dev-guide/attributes.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,25 @@ use Magento\Framework\Setup\ModuleDataSetupInterface;
5858
use Magento\Framework\Setup\Patch\DataPatchInterface;
5959
use Magento\Framework\Setup\Patch\PatchVersionInterface;
6060

61+
/**
62+
* Class add customer example attribute to customer
63+
*/
6164
class AddCustomerExampleAttribute implements DataPatchInterface
6265
{
63-
66+
/**
67+
* @var ModuleDataSetupInterface
68+
*/
6469
private $moduleDataSetup;
6570

71+
/**
72+
* @var CustomerSetupFactory
73+
*/
6674
private $customerSetupFactory;
6775

76+
/**
77+
* @param ModuleDataSetupInterface $moduleDataSetup
78+
* @param CustomerSetupFactory $customerSetupFactory
79+
*/
6880
public function __construct(
6981
ModuleDataSetupInterface $moduleDataSetup,
7082
CustomerSetupFactory $customerSetupFactory
@@ -73,6 +85,9 @@ class AddCustomerExampleAttribute implements DataPatchInterface
7385
$this->customerSetupFactory = $customerSetupFactory;
7486
}
7587

88+
/**
89+
* @inheritdoc
90+
*/
7691
public function apply()
7792
{
7893
$customerSetup = $this->customerSetupFactory->create(['setup' => $this->moduleDataSetup]);
@@ -82,7 +97,7 @@ class AddCustomerExampleAttribute implements DataPatchInterface
8297
}
8398

8499
/**
85-
* {@inheritdoc}
100+
* @inheritdoc
86101
*/
87102
public static function getDependencies()
88103
{
@@ -91,6 +106,9 @@ class AddCustomerExampleAttribute implements DataPatchInterface
91106
];
92107
}
93108

109+
/**
110+
* @inheritdoc
111+
*/
94112
public function getAliases()
95113
{
96114
return [];

src/guides/v2.3/extension-dev-guide/indexing.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,15 @@ The following figure shows the logic for partial reindexing.
8282

8383
### Indexer status {#m2devgde-indexing-status}
8484

85-
Depending on whether an index data is up to date, an indexer status value is one of the following:
85+
Depending on whether index data is up to date, an indexer status value is one of the following:
8686

87-
* valid - data is synchronized, no reindex required
88-
* invalid - the original data was changed, the index should be updated
89-
* working - indexing is in progress
87+
Database Status|Admin Status|Description
88+
`valid`|Ready|Data is synchronized, no reindex required
89+
`invalid`|Reindex Required|The original data was changed, the index should be updated
90+
`working`|Processing|Indexing is in progress
91+
92+
The database status can be seen when viewing the SQL table `indexer_state`.
93+
The admin status can be seen when viewing the indexer grid in Magento Admin or when running the index status from the CLI.
9094

9195
The Magento indexing mechanism uses the status value in reindex triggering process. You can check the status of an indexer in the [Admin](https://glossary.magento.com/admin) panel in **System >** Tools **> Index Management** or manually using the [command line]({{ page.baseurl }}/config-guide/cli/config-cli-subcommands-index.html#view-indexer-status).
9296

src/guides/v2.3/extension-dev-guide/price-adjustments.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ class Adjustment implements AdjustmentInterface
9898
*/
9999
public function applyAdjustment($amount, SaleableInterface $saleableItem, $context = [])
100100
{
101-
$return = $amount + self::ADJUSTMENT_VALUE;
102-
return $return;
101+
return $amount + self::ADJUSTMENT_VALUE;
103102
}
104103

105104
/**

src/guides/v2.3/payments-integrations/payment-gateway/command-pool.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Following is an example of the command pool configuring for the Braintree paymen
2626

2727
```xml
2828
...
29-
<!-- BrainreeCommandPool - a command pool for the Braintree payments provider -->
29+
<!-- BraintreeCommandPool - a command pool for the Braintree payments provider -->
3030
<virtualType name="BraintreeCommandPool" type="Magento\Payment\Gateway\Command\CommandPool">
3131
<arguments>
3232
<argument name="commands" xsi:type="array">
@@ -38,7 +38,7 @@ Following is an example of the command pool configuring for the Braintree paymen
3838
</arguments>
3939
</virtualType>
4040
...
41-
<!-- Adding BrainreeCommandPool to the Braintree payment method configuration:-->
41+
<!-- Adding BraintreeCommandPool to the Braintree payment method configuration:-->
4242
<virtualType name="BraintreeFacade" type="Magento\Payment\Model\Method\Adapter">
4343
<arguments>
4444
...

0 commit comments

Comments
 (0)