Skip to content

Commit 2be04b2

Browse files
Fixed spell issue in library
1 parent 02e144c commit 2be04b2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/code/Magento/Catalog/Model/Product/Gallery/Processor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ public function setMediaAttribute(\Magento\Catalog\Model\Product $product, $medi
340340
$mediaAttributeCodes = $this->mediaConfig->getMediaAttributeCodes();
341341

342342
if (is_array($mediaAttribute)) {
343-
foreach ($mediaAttribute as $atttribute) {
344-
if (in_array($atttribute, $mediaAttributeCodes)) {
345-
$product->setData($atttribute, $value);
343+
foreach ($mediaAttribute as $attribute) {
344+
if (in_array($attribute, $mediaAttributeCodes)) {
345+
$product->setData($attribute, $value);
346346
}
347347
}
348348
} elseif (in_array($mediaAttribute, $mediaAttributeCodes)) {

lib/internal/Magento/Framework/Code/GeneratedFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private function disableAllCacheTypes()
180180
}
181181

182182
/**
183-
* Enables apppropriate cache types in app/etc/env.php based on the passed in $cacheTypes array
183+
* Enables appropriate cache types in app/etc/env.php based on the passed in $cacheTypes array
184184
* TODO: to be removed in scope of MAGETWO-53476
185185
*
186186
* @param string[] $cacheTypes

lib/web/modernizr/modernizr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ window.Modernizr = (function( window, document, undefined ) {
878878

879879
// We first check to see if the type we give it sticks..
880880
// If the type does, we feed it a textual value, which shouldn't be valid.
881-
// If the value doesn't stick, we know there's input sanitization which infers a custom UI
881+
// If the value doesn't stick, we know there's input sanitizationfi which infers a custom UI
882882
if ( bool ) {
883883

884884
inputElem.value = smile;

0 commit comments

Comments
 (0)