Skip to content

Commit a54fed5

Browse files
author
Valeriy Nayda
committed
GraphQL-189: Replace GraphQlInputException on LocalizedException
-- fix static tests
1 parent 645cdd2 commit a54fed5

File tree

8 files changed

+14
-10
lines changed

8 files changed

+14
-10
lines changed

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/EntityIdToId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Magento\Framework\GraphQl\Query\ResolverInterface;
1717

1818
/**
19-
* {@inheritdoc}
19+
* @inheritdoc
2020
*
2121
* Fixed the id related data in the product data
2222
*/

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/MediaGalleryEntries.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515
use Magento\Framework\GraphQl\Query\ResolverInterface;
1616

1717
/**
18+
* @inheritdoc
19+
*
1820
* Format a product's media gallery information to conform to GraphQL schema representation
1921
*/
2022
class MediaGalleryEntries implements ResolverInterface
2123
{
2224
/**
23-
* {@inheritdoc}
25+
* @inheritdoc
2426
*
2527
* Format product's media gallery entry data to conform to GraphQL schema
2628
*

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/NewFromTo.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@
1414
use Magento\Framework\GraphQl\Query\ResolverInterface;
1515

1616
/**
17+
* @inheritdoc
18+
*
1719
* Format the new from and to typo of legacy fields news_from_date and news_to_date
1820
*/
1921
class NewFromTo implements ResolverInterface
2022
{
2123
/**
22-
* {@inheritdoc}
24+
* @inheritdoc
2325
*
2426
* Transfer data from legacy news_from_date and news_to_date to new names corespondent fields
2527
*

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/Options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class Options implements ResolverInterface
2222
{
2323
/**
24-
* {@inheritdoc}
24+
* @inheritdoc
2525
*
2626
* Format product's option data to conform to GraphQL schema
2727
*

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/Price.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(
4848
}
4949

5050
/**
51-
* {@inheritdoc}
51+
* @inheritdoc
5252
*
5353
* Format product's tier price data to conform to GraphQL schema
5454
*

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/ProductLinks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ProductLinks implements ResolverInterface
2828
private $linkTypes = ['related', 'upsell', 'crosssell'];
2929

3030
/**
31-
* {@inheritdoc}
31+
* @inheritdoc
3232
*
3333
* Format product links data to conform to GraphQL schema
3434
*

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/TierPrices.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
use Magento\Framework\GraphQl\Query\ResolverInterface;
1717

1818
/**
19-
* {@inheritdoc}
19+
* @inheritdoc
2020
*
2121
* Format a product's tier price information to conform to GraphQL schema representation
2222
*/
2323
class TierPrices implements ResolverInterface
2424
{
2525
/**
26-
* {@inheritdoc}
26+
* @inheritdoc
2727
*
2828
* Format product's tier price data to conform to GraphQL schema
2929
*

app/code/Magento/DownloadableGraphQl/Model/Resolver/Product/DownloadableOptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use Magento\Framework\GraphQl\Query\ResolverInterface;
2222

2323
/**
24-
* {@inheritdoc}
24+
* @inheritdoc
2525
*
2626
* Format for downloadable product types
2727
*/
@@ -66,7 +66,7 @@ public function __construct(
6666
}
6767

6868
/**
69-
* {@inheritdoc}
69+
* @inheritdoc
7070
*
7171
* Add downloadable options to configurable types
7272
*

0 commit comments

Comments
 (0)