Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 48fa7b5

Browse files
author
Roman Glushko
committed
#31 Fixed typo
1 parent f35af8b commit 48fa7b5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app/code/Magento/CmsGraphQl/Model/Resolver/Cms/CmsPageDataProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ private function processCmsPage(CmsPageInterface $cmsPageModel) : array
7070
'content_heading' => $cmsPageModel->getContentHeading(),
7171
'layout' => $cmsPageModel->getPageLayout(),
7272
'mate_title' => $cmsPageModel->getMetaTitle(),
73-
'mate_description' => $cmsPageModel->getMetaDescription(),
74-
'mate_keywords' => $cmsPageModel->getMetaKeywords(),
73+
'meta_description' => $cmsPageModel->getMetaDescription(),
74+
'meta_keywords' => $cmsPageModel->getMetaKeywords(),
7575
];
7676

7777
return $cmsPageData;

app/code/Magento/CmsGraphQl/etc/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ type CmsPage @doc(description: "CMS page defines all CMS page information") {
1414
content_heading: String @doc(description: "CMS page content heading")
1515
layout: String @doc(description: "CMS page content heading")
1616
mate_title: String @doc(description: "CMS page meta title")
17-
mate_description: String @doc(description: "CMS page meta description")
18-
mate_keywords: String @doc(description: "CMS page meta keywords")
17+
meta_description: String @doc(description: "CMS page meta description")
18+
meta_keywords: String @doc(description: "CMS page meta keywords")
1919
}

app/code/Magento/CmsGraphQl/registration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
use Magento\Framework\Component\ComponentRegistrar;
89

0 commit comments

Comments
 (0)