Skip to content

Commit 533b810

Browse files
committed
Fix typos in DocBlock comments
1 parent 62a8228 commit 533b810

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

app/code/Magento/Directory/Block/Currency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function getCurrencies()
9898
}
9999

100100
/**
101-
* Retrieve Currency Swith URL
101+
* Retrieve Currency Switch URL
102102
*
103103
* @return string
104104
*/

app/code/Magento/DownloadableImportExport/Model/Import/Product/Type/Downloadable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public function prepareAttributesWithDefaultValueForSave(array $rowData, $withDe
407407
}
408408

409409
/**
410-
* Get additional attributes for dowloadable product.
410+
* Get additional attributes for downloadable product.
411411
*
412412
* @param array $rowData
413413
* @return array

app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Main/AbstractMain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ protected function _prepareForm()
265265
}
266266

267267
/**
268-
* Initialize form fileds values
268+
* Initialize form fields values
269269
*
270270
* @return $this
271271
*/

app/code/Magento/Eav/Model/Attribute/Data/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function restoreValue($value)
129129
}
130130

131131
/**
132-
* Return formated attribute value from entity model
132+
* Return formatted attribute value from entity model
133133
*
134134
* @param string $format
135135
* @return string|array

app/code/Magento/Eav/Model/Entity/Attribute/Frontend/AbstractFrontend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ private function getTextLengthValidateClasses()
283283
}
284284

285285
/**
286-
* Reireive config field
286+
* Retrieve config field
287287
*
288288
* @param string $fieldName
289289
* @return mixed

app/code/Magento/Eav/Model/ResourceModel/CreateHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function execute($entityType, $entityData, $arguments = [])
9999
$entityLinkField = $metadata->getLinkField();
100100
$attributeSetId = isset($entityData[AttributeLoader::ATTRIBUTE_SET_ID])
101101
? $entityData[AttributeLoader::ATTRIBUTE_SET_ID]
102-
: null; // @todo verify is it normal to not have attributer_set_id
102+
: null; // @todo verify is it normal to not have attribute_set_id
103103
/** @var \Magento\Eav\Model\Entity\Attribute\AbstractAttribute $attribute */
104104
foreach ($this->getAttributes($entityType, $attributeSetId) as $attribute) {
105105
if ($attribute->isStatic()) {

app/code/Magento/Eav/Model/ResourceModel/Entity/Attribute/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function _getLoadDataFields()
8787
}
8888

8989
/**
90-
* Specify select columns which are used for load arrtibute values
90+
* Specify select columns which are used for load attribute values
9191
*
9292
* @return $this
9393
*/

0 commit comments

Comments
 (0)