Skip to content

Commit 7be91c1

Browse files
committed
MAGETWO-87264: Finalizing - refactoring code for Pr
1 parent 9b11054 commit 7be91c1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
namespace Magento\ConfigurableProductGraphQl\Model\Plugin\Model\Resolver\Products\DataProvider\Product\Formatter;
7+
namespace Magento\ConfigurableProductGraphQl\Model\Resolver\Products\DataProvider\Product\Formatter;
88

99
use Magento\Catalog\Model\Product;
1010
use Magento\ConfigurableProduct\Model\Product\Type\Configurable;

app/code/Magento/ConfigurableProductGraphQl/etc/graphql/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<type name="Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\FormatterComposite">
1010
<arguments>
1111
<argument name="formatterInstances" xsi:type="array">
12-
<item name="add_configurable_data" xsi:type="object">Magento\ConfigurableProductGraphQl\Model\Plugin\Model\Resolver\Products\DataProvider\Product\Formatter\ConfigurableOptions</item>
12+
<item name="add_configurable_data" xsi:type="object">Magento\ConfigurableProductGraphQl\Model\Resolver\Products\DataProvider\Product\Formatter\ConfigurableOptions</item>
1313
</argument>
1414
</arguments>
1515
</type>

lib/internal/Magento/Framework/GraphQl/Config/Data/TypeResolverInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Magento\Framework\GraphQl\Config\Data;
88

9+
use Magento\Framework\GraphQl\Exception\GraphQlInputException;
910
/**
1011
* Determines a concrete GraphQL type for data returned that implements an interface type.
1112
*/
@@ -16,6 +17,7 @@ interface TypeResolverInterface
1617
*
1718
* @param array $data
1819
* @return string|null
20+
* @throws GraphQlInputException
1921
*/
2022
public function resolveType(array $data);
2123
}

0 commit comments

Comments
 (0)