Skip to content

Commit 9d413e1

Browse files
committed
Merge pull request #1165 from EliasZ/patch-1
fix typos
2 parents 3edca36 + 79184c4 commit 9d413e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/Magento/Theme/Test/Unit/Model/Favicon/FaviconTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function testGetFaviconFileNegative()
8585
public function testGetFaviconFile()
8686
{
8787
$scopeConfigValue = 'path';
88-
$urlToMediaDir = 'http://magneto.url/pub/media/';
88+
$urlToMediaDir = 'http://magento.url/pub/media/';
8989
$expectedFile = ImageFavicon::UPLOAD_DIR . '/' . $scopeConfigValue;
9090
$expectedUrl = $urlToMediaDir . $expectedFile;
9191

lib/internal/Magento/Framework/Less/Test/Unit/File/Collector/LibraryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function testGetFiles($libraryFiles, $themeFiles)
120120
$this->libraryDirectoryMock->expects($this->any())->method('search')->will($this->returnValue($libraryFiles));
121121
$this->libraryDirectoryMock->expects($this->any())->method('getAbsolutePath')->will($this->returnCallback(
122122
function ($file) {
123-
return '/opt/Magneto/lib/' . $file;
123+
return '/opt/Magento/lib/' . $file;
124124
}
125125
));
126126
$themePath = '/var/Magento/ATheme';

lib/internal/Magento/Framework/View/Element/BlockFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function createBlock($blockName, array $arguments = [])
4242
$blockName = ltrim($blockName, '\\');
4343
$block = $this->objectManager->create($blockName, $arguments);
4444
if (!$block instanceof BlockInterface) {
45-
throw new \LogicException($blockName . ' does not implemented BlockInterface');
45+
throw new \LogicException($blockName . ' does not implement BlockInterface');
4646
}
4747
if ($block instanceof Template) {
4848
$block->setTemplateContext($block);

0 commit comments

Comments
 (0)