Skip to content

Commit c21a016

Browse files
author
Valeriy Nayda
committed
GraphQL-141: [Mutations] Cart Operations > Add simple product to Cart
-- fix static tests
1 parent 6b7300a commit c21a016

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

app/code/Magento/CatalogGraphQl/Model/Product/Option/DateType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
class DateType extends ProductDateOptionType
2020
{
2121
/**
22-
* Make valid string as a value of date option type for GraphQl queries
23-
*
2422
* {@inheritdoc}
2523
*
24+
* Make valid string as a value of date option type for GraphQl queries
25+
*
2626
* @param array $values All product option values, i.e. array (option_id => mixed, option_id => mixed...)
2727
* @return ProductDateOptionType
2828
*/

app/code/Magento/QuoteGraphQl/Model/Resolver/CartItemTypeResolver.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ public function __construct(array $supportedTypes = [])
3030
}
3131

3232
/**
33-
* {@inheritdoc}
34-
*
35-
* @param array $data
36-
* @return string
37-
* @throws GraphQlInputException
38-
* @throws LocalizedException
33+
* @inheritdoc
3934
*/
4035
public function resolveType(array $data) : string
4136
{

0 commit comments

Comments
 (0)