Skip to content

Commit 1118b70

Browse files
authored
Merge pull request #26 from ivanhrytsaim/14293-Fix-errors-in-the-blog
14293-Fix-errors-in-the-blog
2 parents 0cc37ab + ad4404f commit 1118b70

27 files changed

+88
-124
lines changed

Model/BlogArchiveTypeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
class BlogArchiveTypeResolver implements TypeResolverInterface
1717
{
18-
const MF_BLOG_ARCHIVE = 'MF_BLOG_ARCHIVE';
19-
const TYPE_RESOLVER = 'blogPostsOutput';
18+
private const MF_BLOG_ARCHIVE = 'MF_BLOG_ARCHIVE';
19+
private const TYPE_RESOLVER = 'blogPostsOutput';
2020

2121
/**
2222
* @inheritdoc

Model/BlogAuthorTypeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
class BlogAuthorTypeResolver implements TypeResolverInterface
1717
{
18-
const MF_BLOG_AUTHOR = 'MF_BLOG_AUTHOR';
19-
const TYPE_RESOLVER = 'BlogAuthor';
18+
private const MF_BLOG_AUTHOR = 'MF_BLOG_AUTHOR';
19+
private const TYPE_RESOLVER = 'BlogAuthor';
2020

2121
/**
2222
* @inheritdoc

Model/BlogCategoryTypeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
class BlogCategoryTypeResolver implements TypeResolverInterface
1717
{
18-
const MF_BLOG_CATEGORY = 'MF_BLOG_CATEGORY';
19-
const TYPE_RESOLVER = 'BlogCategory';
18+
private const MF_BLOG_CATEGORY = 'MF_BLOG_CATEGORY';
19+
private const TYPE_RESOLVER = 'BlogCategory';
2020

2121
/**
2222
* @inheritdoc

Model/BlogIndexTypeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
class BlogIndexTypeResolver implements TypeResolverInterface
1717
{
18-
const MF_BLOG_INDEX = 'MF_BLOG_INDEX';
19-
const TYPE_RESOLVER = 'blogPostsOutput';
18+
private const MF_BLOG_INDEX = 'MF_BLOG_INDEX';
19+
private const TYPE_RESOLVER = 'blogPostsOutput';
2020

2121
/**
2222
* @inheritdoc

Model/BlogPostTypeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
class BlogPostTypeResolver implements TypeResolverInterface
1717
{
18-
const MF_BLOG_POST = 'MF_BLOG_POST';
19-
const TYPE_RESOLVER = 'BlogPost';
18+
private const MF_BLOG_POST = 'MF_BLOG_POST';
19+
private const TYPE_RESOLVER = 'BlogPost';
2020

2121
/**
2222
* @inheritdoc

Model/BlogSearchTypeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
class BlogSearchTypeResolver implements TypeResolverInterface
1717
{
18-
const MF_BLOG_SEARCH = 'MF_BLOG_SEARCH';
19-
const TYPE_RESOLVER = 'blogPostsOutput';
18+
private const MF_BLOG_SEARCH = 'MF_BLOG_SEARCH';
19+
private const TYPE_RESOLVER = 'blogPostsOutput';
2020

2121
/**
2222
* @inheritdoc

Model/BlogTagTypeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
class BlogTagTypeResolver implements TypeResolverInterface
1717
{
18-
const MF_BLOG_TAG = 'MF_BLOG_TAG';
19-
const TYPE_RESOLVER = 'BlogTag';
18+
private const MF_BLOG_TAG = 'MF_BLOG_TAG';
19+
private const TYPE_RESOLVER = 'BlogTag';
2020

2121
/**
2222
* @inheritdoc

Model/Categories/FilterArgument.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
use Magento\Framework\GraphQl\Query\Resolver\Argument\FieldEntityAttributesInterface;
1111
use Magento\Framework\GraphQl\ConfigInterface;
1212

13-
/**
14-
* Class FilterArgument
15-
* @package Magefan\BlogGraphQl\Model\Categories
16-
*/
1713
class FilterArgument implements FieldEntityAttributesInterface
1814
{
1915
/** @var ConfigInterface */

Model/Comments/FilterArgument.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
use Magento\Framework\GraphQl\Query\Resolver\Argument\FieldEntityAttributesInterface;
1111
use Magento\Framework\GraphQl\ConfigInterface;
1212

13-
/**
14-
* Class FilterArgument
15-
* @package Magefan\BlogGraphQl\Model\Comments
16-
*/
1713
class FilterArgument implements FieldEntityAttributesInterface
1814
{
1915
/** @var ConfigInterface */

Model/Posts/FilterArgument.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
use Magento\Framework\GraphQl\Query\Resolver\Argument\FieldEntityAttributesInterface;
1111
use Magento\Framework\GraphQl\ConfigInterface;
1212

13-
/**
14-
* Class FilterArgument
15-
* @package Magefan\BlogGraphQl\Model\Posts
16-
*/
1713
class FilterArgument implements FieldEntityAttributesInterface
1814
{
1915
/** @var ConfigInterface */

0 commit comments

Comments
 (0)