Skip to content

Commit 0153a58

Browse files
Grammatical mistake in the comments
1 parent 02bca98 commit 0153a58

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

lib/internal/Magento/Framework/Setup/Declaration/Schema/Db/StatementAggregator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private function canDoMerge(Statement $bankStatement, Statement $statement)
3636
}
3737

3838
/**
39-
* If we add trigger after some specific statement, than we say that statement is final
39+
* If we add trigger after some specific statement, then we say that statement is final
4040
* and can`t be updated anymore. Otherwise trigger can fail.
4141
*
4242
* Example: while migrating data from one column to another and another column should be removed,

lib/internal/Magento/Framework/Setup/Declaration/Schema/Dto/Columns/ColumnNullableAwareInterface.php

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

88
/**
99
* Provides nullable flag for element.
10-
* If column element implement this interface, than it will have NULL or NOT NULL flag in column definition.
10+
* If column element implement this interface, then it will have NULL or NOT NULL flag in column definition.
1111
*/
1212
interface ColumnNullableAwareInterface
1313
{

lib/internal/Magento/Framework/Setup/Declaration/Schema/Dto/Columns/ColumnUnsignedAwareInterface.php

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

88
/**
99
* Unsigned flag provider for element.
10-
* If column element implement this interface, than it will have UNSIGNED flag in column
10+
* If column element implement this interface, then it will have UNSIGNED flag in column
1111
* definition.
1212
*/
1313
interface ColumnUnsignedAwareInterface

lib/internal/Magento/Framework/Setup/Declaration/Schema/Operations/AddColumn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private function setupTriggersIfExists(Statement $statement, ElementHistory $ele
164164
}
165165
$statements = [$statement];
166166
/**
167-
* If column has triggers, only than we need to create temporary index on it.
167+
* If column has triggers, only then we need to create temporary index on it.
168168
* As triggers means, that we will not enable primary key until all data will be transferred,
169169
* so column can left without key (as primary key is disabled) and this cause an error.
170170
*/

lib/internal/Magento/Framework/Setup/Patch/PatchInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function getAliases();
1919

2020
/**
2121
* Run code inside patch
22-
* If code fails, patch must be reverted, in case when we are speaking about schema - than under revert
22+
* If code fails, patch must be reverted, in case when we are speaking about schema - then under revert
2323
* means run PatchInterface::revert()
2424
*
2525
* If we speak about data, under revert means: $transaction->rollback()

lib/internal/Magento/Framework/Setup/Patch/PatchRegistry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private function getDependencies(string $patch)
146146

147147
$depInstance = $this->registerPatch($dep);
148148
/**
149-
* If a patch already have applied dependency - than we definently know
149+
* If a patch already have applied dependency - then we definitely know
150150
* that all other dependencies in dependency chain are applied too, so we can skip this dep
151151
*/
152152
if (!$depInstance) {
@@ -189,7 +189,7 @@ public function getReverseIterator()
189189
/**
190190
* Retrieve iterator of all patch instances
191191
*
192-
* If patch have dependencies, than first of all dependencies should be installed and only then desired patch
192+
* If patch have dependencies, then first of all dependencies should be installed and only then desired patch
193193
*
194194
* @return \ArrayIterator
195195
*/

lib/internal/Magento/Framework/Setup/Patch/PatchVersionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface PatchVersionInterface
1414
{
1515
/**
1616
* This version associate patch with Magento setup version.
17-
* For example, if Magento current setup version is 2.0.3 and patch version is 2.0.2 than
17+
* For example, if Magento current setup version is 2.0.3 and patch version is 2.0.2 then
1818
* this patch will be added to registry, but will not be applied, because it is already applied
1919
* by old mechanism of UpgradeData.php script
2020
*

0 commit comments

Comments
 (0)